Java Code Examples for com.sun.org.apache.xalan.internal.xsltc.compiler.Expression

Following code examples demonstrate how to use com.sun.org.apache.xalan.internal.xsltc.compiler.Expressionfrom java. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use com.sun.org.apache.xalan.internal.xsltc.compiler.Expressionand various code implementation of this class.

  
  public void startIterator(ClassGenerator paramClassGenerator, MethodGenerator paramMethodGenerator)
  {
    if (!(_type instanceof NodeSetType)) {
      return;
    }
    Expression localExpression = this;
    if ((localExpression instanceof CastExpr)) {
      localExpression = ((CastExpr)localExpression).getExpr();
    }
    if (!(localExpression instanceof VariableRefBase))
    {
      InstructionList localInstructionList = paramMethodGenerator.getInstructionList();
      localInstructionList.append(paramMethodGenerator.loadContextNode());
      localInstructionList.append(paramMethodGenerator.setStartNode());
    }
  } 


Advertisement
Javadoc
@author Jacek Ambroziak @author Santiago Pericas-Geertsen @author Morten Jorgensen @author Erwin Bol

widt

Read More
Advertisement