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

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

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

origin: robovm/robovm

/**
 * Execute the xsl:apply-imports transformation.
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 if (transformer.currentTemplateRuleIsNull())
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");
 }
 int sourceNode = transformer.getXPathContext().getCurrentNode();
 if (DTM.NULL != sourceNode)
 {
  // supply the current templated (matched, not named)        
  ElemTemplate matchTemplate = transformer.getMatchedTemplate();
  transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
 }
 else  // if(null == sourceNode)
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");
 }
}
origin: robovm/robovm

try
 this.applyTemplateToNode(null, null, node);
origin: xalan/xalan

transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
origin: xalan/xalan

try
 this.applyTemplateToNode(null, null, node);
origin: com.gluonhq/robovm-rt

/**
 * Execute the xsl:apply-imports transformation.
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 if (transformer.currentTemplateRuleIsNull())
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");
 }
 int sourceNode = transformer.getXPathContext().getCurrentNode();
 if (DTM.NULL != sourceNode)
 {
  // supply the current templated (matched, not named)        
  ElemTemplate matchTemplate = transformer.getMatchedTemplate();
  transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
 }
 else  // if(null == sourceNode)
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");
 }
}
origin: MobiVM/robovm

/**
 * Execute the xsl:apply-imports transformation.
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 if (transformer.currentTemplateRuleIsNull())
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");
 }
 int sourceNode = transformer.getXPathContext().getCurrentNode();
 if (DTM.NULL != sourceNode)
 {
  // supply the current templated (matched, not named)        
  ElemTemplate matchTemplate = transformer.getMatchedTemplate();
  transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
 }
 else  // if(null == sourceNode)
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");
 }
}
origin: ibinti/bugvm

/**
 * Execute the xsl:apply-imports transformation.
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 if (transformer.currentTemplateRuleIsNull())
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");
 }
 int sourceNode = transformer.getXPathContext().getCurrentNode();
 if (DTM.NULL != sourceNode)
 {
  // supply the current templated (matched, not named)        
  ElemTemplate matchTemplate = transformer.getMatchedTemplate();
  transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
 }
 else  // if(null == sourceNode)
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");
 }
}
origin: com.bugvm/bugvm-rt

/**
 * Execute the xsl:apply-imports transformation.
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 if (transformer.currentTemplateRuleIsNull())
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");
 }
 int sourceNode = transformer.getXPathContext().getCurrentNode();
 if (DTM.NULL != sourceNode)
 {
  // supply the current templated (matched, not named)        
  ElemTemplate matchTemplate = transformer.getMatchedTemplate();
  transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
 }
 else  // if(null == sourceNode)
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");
 }
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Execute the xsl:apply-imports transformation.
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 if (transformer.currentTemplateRuleIsNull())
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");
 }
 int sourceNode = transformer.getXPathContext().getCurrentNode();
 if (DTM.NULL != sourceNode)
 {
  // supply the current templated (matched, not named)        
  ElemTemplate matchTemplate = transformer.getMatchedTemplate();
  transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
 }
 else  // if(null == sourceNode)
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");
 }
}
origin: FlexoVM/flexovm

/**
 * Execute the xsl:apply-imports transformation.
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 if (transformer.currentTemplateRuleIsNull())
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");
 }
 int sourceNode = transformer.getXPathContext().getCurrentNode();
 if (DTM.NULL != sourceNode)
 {
  // supply the current templated (matched, not named)        
  ElemTemplate matchTemplate = transformer.getMatchedTemplate();
  transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
 }
 else  // if(null == sourceNode)
 {
  transformer.getMsgMgr().error(this,
   XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");
 }
}
origin: org.apache.xalan/com.springsource.org.apache.xalan

try
 this.applyTemplateToNode(null, null, node);
origin: com.mobidevelop.robovm/robovm-rt

try
 this.applyTemplateToNode(null, null, node);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
origin: org.apache.xalan/com.springsource.org.apache.xalan

transformer.applyTemplateToNode(this, matchTemplate, sourceNode);
origin: FlexoVM/flexovm

try
 this.applyTemplateToNode(null, null, node);
origin: com.bugvm/bugvm-rt

try
 this.applyTemplateToNode(null, null, node);
origin: MobiVM/robovm

try
 this.applyTemplateToNode(null, null, node);
origin: ibinti/bugvm

try
 this.applyTemplateToNode(null, null, node);
origin: com.gluonhq/robovm-rt

try
 this.applyTemplateToNode(null, null, node);
org.apache.xalan.transformerTransformerImplapplyTemplateToNode

Javadoc

Given an element and mode, find the corresponding template and process the contents.

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.
  • 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
  • fatalError
  • currentTemplateRuleIsNull,
  • fatalError,
  • getContentHandler,
  • getContextNodeList,
  • getCountersTable,
  • getCurrentElement,
  • getCurrentNode,
  • getCurrentTemplate,
  • getErrorListener

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JComboBox (javax.swing)
  • Github Copilot alternatives
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