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

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

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

origin: robovm/robovm

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
}

origin: xalan/xalan

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
 m_stackGuard = new StackGuard(this);    
}
 
origin: com.gluonhq/robovm-rt

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
}

origin: ibinti/bugvm

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
}

origin: com.bugvm/bugvm-rt

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
}

origin: FlexoVM/flexovm

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
}

origin: MobiVM/robovm

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
}

origin: com.mobidevelop.robovm/robovm-rt

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
}

origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
 m_stackGuard = new StackGuard(this);    
}
 
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
 m_stackGuard = new StackGuard(this);    
}
 
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Construct a TransformerImpl.
 *
 * @param stylesheet The root of the stylesheet tree.
 */
public TransformerImpl(StylesheetRoot stylesheet)
 // throws javax.xml.transform.TransformerException    
{
 m_optimizer = stylesheet.getOptimizer();
 m_incremental = stylesheet.getIncremental();
 m_source_location = stylesheet.getSource_location();      
 setStylesheet(stylesheet);
 XPathContext xPath = new XPathContext(this);
 xPath.setIncremental(m_incremental);
 xPath.getDTMManager().setIncremental(m_incremental);
 xPath.setSource_location(m_source_location);
 xPath.getDTMManager().setSource_location(m_source_location);
 
 if (stylesheet.isSecureProcessing())
  xPath.setSecureProcessing(true);
 
 setXPathContext(xPath);
 getXPathContext().setNamespaceContext(stylesheet);
 m_stackGuard = new StackGuard(this);    
}
 
org.apache.xalan.transformerTransformerImplsetStylesheet

Javadoc

Set the stylesheet for this processor. If this is set, then the process calls that take only the input .xml will use this instead of looking for a stylesheet PI. Also, setting the stylesheet is needed if you are going to use the processor as a SAX ContentHandler.

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
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top plugins for WebStorm
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