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

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • Menu (java.awt)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Collectors (java.util.stream)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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