Codota Logo
TransformerImpl.transformToString
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain TransformerImpl
private void myMethod () {
TransformerImpl t =
  • Codota IconXPathContext xctxt;(TransformerImpl) xctxt.getOwnerObject()
  • Codota IconTemplates templates;(TransformerImpl) templates.newTransformer()
  • Codota IconSerializationHandler handler;(TransformerImpl) handler.getTransformer()
  • Smart code suggestions by Codota
}
origin: robovm/robovm

String val = transformer.transformToString(this);
try 
origin: robovm/robovm

/**
 * Execute the xsl:comment transformation 
 *
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 try
 {
  // Note the content model is:
  // <!ENTITY % instructions "
  // %char-instructions;
  // | xsl:processing-instruction
  // | xsl:comment
  // | xsl:element
  // | xsl:attribute
  // ">
  String data = transformer.transformToString(this);
  transformer.getResultTreeHandler().comment(data);
 }
 catch(org.xml.sax.SAXException se)
 {
  throw new TransformerException(se);
 }
}
origin: xalan/xalan

String val = transformer.transformToString(this);
try 
origin: robovm/robovm

 /**
  * Send a message to diagnostics.
  * The xsl:message instruction sends a message in a way that
  * is dependent on the XSLT transformer. The content of the xsl:message
  * instruction is a template. The xsl:message is instantiated by
  * instantiating the content to create an XML fragment. This XML
  * fragment is the content of the message.
  *
  * @param transformer non-null reference to the the current transform-time state.
  *
  * @throws TransformerException
  */
 public void execute(
     TransformerImpl transformer)
      throws TransformerException
 {

  String data = transformer.transformToString(this);

  transformer.getMsgMgr().message(this, data, m_terminate);
  
  if(m_terminate)
   transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
 }
}
origin: robovm/robovm

String data = transformer.transformToString(this);
origin: xalan/xalan

String data = transformer.transformToString(this);
origin: xalan/xalan

 transformer.getTraceManager().fireTraceEvent(this);
String data = transformer.transformToString(this);
origin: xalan/xalan

String data = transformer.transformToString(this);
origin: MobiVM/robovm

/**
 * Execute the xsl:comment transformation 
 *
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 try
 {
  // Note the content model is:
  // <!ENTITY % instructions "
  // %char-instructions;
  // | xsl:processing-instruction
  // | xsl:comment
  // | xsl:element
  // | xsl:attribute
  // ">
  String data = transformer.transformToString(this);
  transformer.getResultTreeHandler().comment(data);
 }
 catch(org.xml.sax.SAXException se)
 {
  throw new TransformerException(se);
 }
}
origin: com.bugvm/bugvm-rt

/**
 * Execute the xsl:comment transformation 
 *
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 try
 {
  // Note the content model is:
  // <!ENTITY % instructions "
  // %char-instructions;
  // | xsl:processing-instruction
  // | xsl:comment
  // | xsl:element
  // | xsl:attribute
  // ">
  String data = transformer.transformToString(this);
  transformer.getResultTreeHandler().comment(data);
 }
 catch(org.xml.sax.SAXException se)
 {
  throw new TransformerException(se);
 }
}
origin: com.gluonhq/robovm-rt

/**
 * Execute the xsl:comment transformation 
 *
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 try
 {
  // Note the content model is:
  // <!ENTITY % instructions "
  // %char-instructions;
  // | xsl:processing-instruction
  // | xsl:comment
  // | xsl:element
  // | xsl:attribute
  // ">
  String data = transformer.transformToString(this);
  transformer.getResultTreeHandler().comment(data);
 }
 catch(org.xml.sax.SAXException se)
 {
  throw new TransformerException(se);
 }
}
origin: ibinti/bugvm

/**
 * Execute the xsl:comment transformation 
 *
 *
 * @param transformer non-null reference to the the current transform-time state.
 *
 * @throws TransformerException
 */
public void execute(
    TransformerImpl transformer)
     throws TransformerException
{
 try
 {
  // Note the content model is:
  // <!ENTITY % instructions "
  // %char-instructions;
  // | xsl:processing-instruction
  // | xsl:comment
  // | xsl:element
  // | xsl:attribute
  // ">
  String data = transformer.transformToString(this);
  transformer.getResultTreeHandler().comment(data);
 }
 catch(org.xml.sax.SAXException se)
 {
  throw new TransformerException(se);
 }
}
origin: MobiVM/robovm

 /**
  * Send a message to diagnostics.
  * The xsl:message instruction sends a message in a way that
  * is dependent on the XSLT transformer. The content of the xsl:message
  * instruction is a template. The xsl:message is instantiated by
  * instantiating the content to create an XML fragment. This XML
  * fragment is the content of the message.
  *
  * @param transformer non-null reference to the the current transform-time state.
  *
  * @throws TransformerException
  */
 public void execute(
     TransformerImpl transformer)
      throws TransformerException
 {

  String data = transformer.transformToString(this);

  transformer.getMsgMgr().message(this, data, m_terminate);
  
  if(m_terminate)
   transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
 }
}
origin: ibinti/bugvm

 /**
  * Send a message to diagnostics.
  * The xsl:message instruction sends a message in a way that
  * is dependent on the XSLT transformer. The content of the xsl:message
  * instruction is a template. The xsl:message is instantiated by
  * instantiating the content to create an XML fragment. This XML
  * fragment is the content of the message.
  *
  * @param transformer non-null reference to the the current transform-time state.
  *
  * @throws TransformerException
  */
 public void execute(
     TransformerImpl transformer)
      throws TransformerException
 {

  String data = transformer.transformToString(this);

  transformer.getMsgMgr().message(this, data, m_terminate);
  
  if(m_terminate)
   transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
 }
}
origin: com.gluonhq/robovm-rt

 /**
  * Send a message to diagnostics.
  * The xsl:message instruction sends a message in a way that
  * is dependent on the XSLT transformer. The content of the xsl:message
  * instruction is a template. The xsl:message is instantiated by
  * instantiating the content to create an XML fragment. This XML
  * fragment is the content of the message.
  *
  * @param transformer non-null reference to the the current transform-time state.
  *
  * @throws TransformerException
  */
 public void execute(
     TransformerImpl transformer)
      throws TransformerException
 {

  String data = transformer.transformToString(this);

  transformer.getMsgMgr().message(this, data, m_terminate);
  
  if(m_terminate)
   transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
 }
}
origin: com.bugvm/bugvm-rt

 /**
  * Send a message to diagnostics.
  * The xsl:message instruction sends a message in a way that
  * is dependent on the XSLT transformer. The content of the xsl:message
  * instruction is a template. The xsl:message is instantiated by
  * instantiating the content to create an XML fragment. This XML
  * fragment is the content of the message.
  *
  * @param transformer non-null reference to the the current transform-time state.
  *
  * @throws TransformerException
  */
 public void execute(
     TransformerImpl transformer)
      throws TransformerException
 {

  String data = transformer.transformToString(this);

  transformer.getMsgMgr().message(this, data, m_terminate);
  
  if(m_terminate)
   transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
 }
}
origin: com.mobidevelop.robovm/robovm-rt

 /**
  * Send a message to diagnostics.
  * The xsl:message instruction sends a message in a way that
  * is dependent on the XSLT transformer. The content of the xsl:message
  * instruction is a template. The xsl:message is instantiated by
  * instantiating the content to create an XML fragment. This XML
  * fragment is the content of the message.
  *
  * @param transformer non-null reference to the the current transform-time state.
  *
  * @throws TransformerException
  */
 public void execute(
     TransformerImpl transformer)
      throws TransformerException
 {

  String data = transformer.transformToString(this);

  transformer.getMsgMgr().message(this, data, m_terminate);
  
  if(m_terminate)
   transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
 }
}
origin: FlexoVM/flexovm

 /**
  * Send a message to diagnostics.
  * The xsl:message instruction sends a message in a way that
  * is dependent on the XSLT transformer. The content of the xsl:message
  * instruction is a template. The xsl:message is instantiated by
  * instantiating the content to create an XML fragment. This XML
  * fragment is the content of the message.
  *
  * @param transformer non-null reference to the the current transform-time state.
  *
  * @throws TransformerException
  */
 public void execute(
     TransformerImpl transformer)
      throws TransformerException
 {

  String data = transformer.transformToString(this);

  transformer.getMsgMgr().message(this, data, m_terminate);
  
  if(m_terminate)
   transformer.getErrorListener().fatalError(new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION, null))); //"Stylesheet directed termination"));
 }
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

 transformer.getTraceManager().fireTraceEvent(this);
String data = transformer.transformToString(this);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

 transformer.getTraceManager().fireTraceEvent(this);
String data = transformer.transformToString(this);
org.apache.xalan.transformerTransformerImpltransformToString

Javadoc

Take the contents of a template element, process it, and convert it to a string.

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

  • Making http requests using okhttp
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • String (java.lang)
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now