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

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

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

origin: xalan/xalan

 /**
  * A class that extends this one could over-ride this public method and receive
  * a callback for the creation of the serializer used in the redirection.
  * @param transformer The transformer
  * @param ostream The output stream that the serializer wraps
  * @param file The file associated with the ostream
  * @param format The format parameter used to create the serializer
  * @return the serializer that the redirection will go to.
  * 
  * @throws java.io.IOException
  * @throws TransformerException
  */
 public SerializationHandler createSerializationHandler(
    TransformerImpl transformer,
    FileOutputStream ostream,
    File file,
    OutputProperties format) 
    throws java.io.IOException, TransformerException
 {

   SerializationHandler serializer =
     transformer.createSerializationHandler(
       new StreamResult(ostream),
       format);
   return serializer;
 }
}
origin: robovm/robovm

/**
 * Create a result ContentHandler from a Result object, based
 * on the current OutputProperties.
 *
 * @param outputTarget Where the transform result should go,
 * should not be null.
 *
 * @return A valid ContentHandler that will create the
 * result tree when it is fed SAX events.
 *
 * @throws TransformerException
 */
public SerializationHandler createSerializationHandler(Result outputTarget)
    throws TransformerException
{
  SerializationHandler xoh =
  createSerializationHandler(outputTarget, getOutputFormat());
  return xoh;
}
origin: xalan/xalan

/**
 * Create a result ContentHandler from a Result object, based
 * on the current OutputProperties.
 *
 * @param outputTarget Where the transform result should go,
 * should not be null.
 *
 * @return A valid ContentHandler that will create the
 * result tree when it is fed SAX events.
 *
 * @throws TransformerException
 */
public SerializationHandler createSerializationHandler(Result outputTarget)
    throws TransformerException
{
  SerializationHandler xoh =
  createSerializationHandler(outputTarget, getOutputFormat());
  return xoh;
}
origin: robovm/robovm

/**
 * Process the source tree to the output result.
 * @param xmlSource  The input for the source tree.
 * @param outputTarget The output source target.
 * @param shouldRelease  Flag indicating whether to release DTMManager. 
 *
 * @throws TransformerException
 */
public void transform(Source xmlSource, Result outputTarget, boolean shouldRelease)
    throws TransformerException
{
 synchronized (m_reentryGuard)
 {
  SerializationHandler xoh = createSerializationHandler(outputTarget);
  this.setSerializationHandler(xoh);        
  m_outputTarget = outputTarget;
  transform(xmlSource, shouldRelease);
 }
}
origin: robovm/robovm

/**
 * Process the source node to the output result, if the
 * processor supports the "http://xml.org/trax/features/dom/input"
 * feature.
 * %REVIEW% Do we need a Node version of this?
 * @param node  The input source node, which can be any valid DTM node.
 * @param outputTarget The output source target.
 *
 * @throws TransformerException
 */
public void transformNode(int node, Result outputTarget)
    throws TransformerException
{
 
 SerializationHandler xoh = createSerializationHandler(outputTarget);
 this.setSerializationHandler(xoh);
 m_outputTarget = outputTarget;
 transformNode(node);
}
origin: xalan/xalan

/**
 * Process the source tree to the output result.
 * @param xmlSource  The input for the source tree.
 * @param outputTarget The output source target.
 * @param shouldRelease  Flag indicating whether to release DTMManager. 
 *
 * @throws TransformerException
 */
public void transform(Source xmlSource, Result outputTarget, boolean shouldRelease)
    throws TransformerException
{
 synchronized (m_reentryGuard)
 {
  SerializationHandler xoh = createSerializationHandler(outputTarget);
  this.setSerializationHandler(xoh);        
  m_outputTarget = outputTarget;
  transform(xmlSource, shouldRelease);
 }
}
origin: xalan/xalan

/**
 * Process the source node to the output result, if the
 * processor supports the "http://xml.org/trax/features/dom/input"
 * feature.
 * %REVIEW% Do we need a Node version of this?
 * @param node  The input source node, which can be any valid DTM node.
 * @param outputTarget The output source target.
 *
 * @throws TransformerException
 */
public void transformNode(int node, Result outputTarget)
    throws TransformerException
{
 
 SerializationHandler xoh = createSerializationHandler(outputTarget);
 this.setSerializationHandler(xoh);
 m_outputTarget = outputTarget;
 transformNode(node);
}
origin: robovm/robovm

  m_transformer.createSerializationHandler(result);
m_transformer.setSerializationHandler(xoh);
origin: xalan/xalan

  m_transformer.createSerializationHandler(result);
m_transformer.setSerializationHandler(xoh);
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Create a result ContentHandler from a Result object, based
 * on the current OutputProperties.
 *
 * @param outputTarget Where the transform result should go,
 * should not be null.
 *
 * @return A valid ContentHandler that will create the
 * result tree when it is fed SAX events.
 *
 * @throws TransformerException
 */
public SerializationHandler createSerializationHandler(Result outputTarget)
    throws TransformerException
{
  SerializationHandler xoh =
  createSerializationHandler(outputTarget, getOutputFormat());
  return xoh;
}
origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * Create a result ContentHandler from a Result object, based
 * on the current OutputProperties.
 *
 * @param outputTarget Where the transform result should go,
 * should not be null.
 *
 * @return A valid ContentHandler that will create the
 * result tree when it is fed SAX events.
 *
 * @throws TransformerException
 */
public SerializationHandler createSerializationHandler(Result outputTarget)
    throws TransformerException
{
  SerializationHandler xoh =
  createSerializationHandler(outputTarget, getOutputFormat());
  return xoh;
}
origin: MobiVM/robovm

/**
 * Create a result ContentHandler from a Result object, based
 * on the current OutputProperties.
 *
 * @param outputTarget Where the transform result should go,
 * should not be null.
 *
 * @return A valid ContentHandler that will create the
 * result tree when it is fed SAX events.
 *
 * @throws TransformerException
 */
public SerializationHandler createSerializationHandler(Result outputTarget)
    throws TransformerException
{
  SerializationHandler xoh =
  createSerializationHandler(outputTarget, getOutputFormat());
  return xoh;
}
origin: FlexoVM/flexovm

/**
 * Create a result ContentHandler from a Result object, based
 * on the current OutputProperties.
 *
 * @param outputTarget Where the transform result should go,
 * should not be null.
 *
 * @return A valid ContentHandler that will create the
 * result tree when it is fed SAX events.
 *
 * @throws TransformerException
 */
public SerializationHandler createSerializationHandler(Result outputTarget)
    throws TransformerException
{
  SerializationHandler xoh =
  createSerializationHandler(outputTarget, getOutputFormat());
  return xoh;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Process the source tree to the output result.
 * @param xmlSource  The input for the source tree.
 * @param outputTarget The output source target.
 * @param shouldRelease  Flag indicating whether to release DTMManager. 
 *
 * @throws TransformerException
 */
public void transform(Source xmlSource, Result outputTarget, boolean shouldRelease)
    throws TransformerException
{
 synchronized (m_reentryGuard)
 {
  SerializationHandler xoh = createSerializationHandler(outputTarget);
  this.setSerializationHandler(xoh);        
  m_outputTarget = outputTarget;
  transform(xmlSource, shouldRelease);
 }
}
origin: ibinti/bugvm

/**
 * Process the source node to the output result, if the
 * processor supports the "http://xml.org/trax/features/dom/input"
 * feature.
 * %REVIEW% Do we need a Node version of this?
 * @param node  The input source node, which can be any valid DTM node.
 * @param outputTarget The output source target.
 *
 * @throws TransformerException
 */
public void transformNode(int node, Result outputTarget)
    throws TransformerException
{
 
 SerializationHandler xoh = createSerializationHandler(outputTarget);
 this.setSerializationHandler(xoh);
 m_outputTarget = outputTarget;
 transformNode(node);
}
origin: MobiVM/robovm

/**
 * Process the source node to the output result, if the
 * processor supports the "http://xml.org/trax/features/dom/input"
 * feature.
 * %REVIEW% Do we need a Node version of this?
 * @param node  The input source node, which can be any valid DTM node.
 * @param outputTarget The output source target.
 *
 * @throws TransformerException
 */
public void transformNode(int node, Result outputTarget)
    throws TransformerException
{
 
 SerializationHandler xoh = createSerializationHandler(outputTarget);
 this.setSerializationHandler(xoh);
 m_outputTarget = outputTarget;
 transformNode(node);
}
origin: MobiVM/robovm

/**
 * Process the source tree to the output result.
 * @param xmlSource  The input for the source tree.
 * @param outputTarget The output source target.
 * @param shouldRelease  Flag indicating whether to release DTMManager. 
 *
 * @throws TransformerException
 */
public void transform(Source xmlSource, Result outputTarget, boolean shouldRelease)
    throws TransformerException
{
 synchronized (m_reentryGuard)
 {
  SerializationHandler xoh = createSerializationHandler(outputTarget);
  this.setSerializationHandler(xoh);        
  m_outputTarget = outputTarget;
  transform(xmlSource, shouldRelease);
 }
}
origin: com.bugvm/bugvm-rt

/**
 * Process the source node to the output result, if the
 * processor supports the "http://xml.org/trax/features/dom/input"
 * feature.
 * %REVIEW% Do we need a Node version of this?
 * @param node  The input source node, which can be any valid DTM node.
 * @param outputTarget The output source target.
 *
 * @throws TransformerException
 */
public void transformNode(int node, Result outputTarget)
    throws TransformerException
{
 
 SerializationHandler xoh = createSerializationHandler(outputTarget);
 this.setSerializationHandler(xoh);
 m_outputTarget = outputTarget;
 transformNode(node);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Process the source node to the output result, if the
 * processor supports the "http://xml.org/trax/features/dom/input"
 * feature.
 * %REVIEW% Do we need a Node version of this?
 * @param node  The input source node, which can be any valid DTM node.
 * @param outputTarget The output source target.
 *
 * @throws TransformerException
 */
public void transformNode(int node, Result outputTarget)
    throws TransformerException
{
 
 SerializationHandler xoh = createSerializationHandler(outputTarget);
 this.setSerializationHandler(xoh);
 m_outputTarget = outputTarget;
 transformNode(node);
}
origin: com.gluonhq/robovm-rt

/**
 * Process the source node to the output result, if the
 * processor supports the "http://xml.org/trax/features/dom/input"
 * feature.
 * %REVIEW% Do we need a Node version of this?
 * @param node  The input source node, which can be any valid DTM node.
 * @param outputTarget The output source target.
 *
 * @throws TransformerException
 */
public void transformNode(int node, Result outputTarget)
    throws TransformerException
{
 
 SerializationHandler xoh = createSerializationHandler(outputTarget);
 this.setSerializationHandler(xoh);
 m_outputTarget = outputTarget;
 transformNode(node);
}
org.apache.xalan.transformerTransformerImplcreateSerializationHandler

Javadoc

Create a result ContentHandler from a Result object, based on the current OutputProperties.

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.
  • 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

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
  • requestLocationUpdates (LocationManager)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JCheckBox (javax.swing)
  • 21 Best Atom Packages for 2021
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