Tabnine Logo
TransformerImpl.pushCurrentFuncResult
Code IndexAdd Tabnine to your IDE (free)

How to use
pushCurrentFuncResult
method
in
org.apache.xalan.transformer.TransformerImpl

Best Java code snippets using org.apache.xalan.transformer.TransformerImpl.pushCurrentFuncResult (Showing top 15 results out of 315)

origin: robovm/robovm

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: xalan/xalan

XPathContext context = exprContext.getXPathContext();
TransformerImpl transformer = (TransformerImpl)context.getOwnerObject();
transformer.pushCurrentFuncResult(null);
origin: xalan/xalan

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEvent(this);
 
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEndEvent(this);    
}
origin: MobiVM/robovm

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: ibinti/bugvm

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: com.bugvm/bugvm-rt

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: com.gluonhq/robovm-rt

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: FlexoVM/flexovm

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

XPathContext context = exprContext.getXPathContext();
TransformerImpl transformer = (TransformerImpl)context.getOwnerObject();
transformer.pushCurrentFuncResult(null);
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

XPathContext context = exprContext.getXPathContext();
TransformerImpl transformer = (TransformerImpl)context.getOwnerObject();
transformer.pushCurrentFuncResult(null);
origin: org.apache.xalan/com.springsource.org.apache.xalan

XPathContext context = exprContext.getXPathContext();
TransformerImpl transformer = (TransformerImpl)context.getOwnerObject();
transformer.pushCurrentFuncResult(null);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEvent(this);
 
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEndEvent(this);    
}
origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEvent(this);
 
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEndEvent(this);    
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEvent(this);
 
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEndEvent(this);    
}
org.apache.xalan.transformerTransformerImplpushCurrentFuncResult

Javadoc

Push a funcion result for the currently active EXSLT func:function.

Popular methods of TransformerImpl

  • executeChildTemplates
    Execute each of the children of a template element.
  • getMsgMgr
    Return the message manager.
  • getOutputFormat
    Get the output properties used for the transformation.
  • getOutputPropertyNoDefault
    Get the value of a property, without using the default properties. This can be used to test if a pro
  • getXPathContext
    Get the XPath context associated with this transformer.
  • setContentHandler
    Set the content event handler. NEEDSDOC @param handler
  • <init>
    Construct a TransformerImpl.
  • applyTemplateToNode
    Given an element and mode, find the corresponding template and process the contents.
  • clearParameters
    Reset the parameters to a null list.
  • createSerializationHandler
  • currentFuncResultSeen
    Determines whether an EXSLT func:result instruction has been executed for the currently active EXSLT
  • currentTemplateRuleIsNull
    Tell if the current template rule is null, i.e. if we are directly within an apply-templates. Used f
  • currentFuncResultSeen,
  • currentTemplateRuleIsNull,
  • fatalError,
  • getContentHandler,
  • getContextNodeList,
  • getCountersTable,
  • getCurrentElement,
  • getCurrentNode,
  • getCurrentTemplate,
  • getErrorListener

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Reference (javax.naming)
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • BoxLayout (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now