org.apache.xalan.xsltc.trax
Class TemplatesHandlerImpl

java.lang.Object
  |
  +--org.apache.xalan.xsltc.compiler.Parser
        |
        +--org.apache.xalan.xsltc.trax.TemplatesHandlerImpl

public class TemplatesHandlerImpl
extends Parser
implements TemplatesHandler

Implementation of a JAXP1.1 TemplatesHandler


Method Summary
 java.lang.String getSystemId()
          Implements javax.xml.transform.sax.TemplatesHandler.getSystemId() Get the base ID (URI or system ID) from where relative URLs will be resolved.
 Templates getTemplates()
          Implements javax.xml.transform.sax.TemplatesHandler.getTemplates() When a TemplatesHandler object is used as a ContentHandler or DocumentHandler for the parsing of transformation instructions, it creates a Templates object, which the caller can get once the SAX events have been completed.
 void init()
          Internal initialization
 void setSystemId(java.lang.String id)
          Implements javax.xml.transform.sax.TemplatesHandler.setSystemId() Get the base ID (URI or system ID) from where relative URLs will be resolved.
 
Methods inherited from class org.apache.xalan.xsltc.compiler.Parser
addParameter, addVariable, characters, createAST, elementSupported, endDocument, endElement, endPrefixMapping, errorsFound, functionSupported, getCurrentImportPrecedence, getCurrentStylesheet, getDocumentRoot, getErrors, getExcludeResultPrefixes, getExtensionElementPrefixes, getNextImportPrecedence, getOutput, getQName, getQName, getQName, getQName, getQNameSafe, getSymbolTable, getTemplate, getTemplateIndex, getTopLevelStylesheet, getUseAttributeSets, getWarnings, getXSLTC, ignorableWhitespace, lookupVariable, makeInstance, makeStylesheet, parse, parse, parseExpression, parseExpression, parsePattern, parsePattern, printErrors, printWarnings, processingInstruction, removeVariable, reportError, setCurrentStylesheet, setDocumentLocator, setOutput, setTemplate, setXSLTC, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init()
Internal initialization
Overrides:
init in class Parser

getSystemId

public java.lang.String getSystemId()
Implements javax.xml.transform.sax.TemplatesHandler.getSystemId() Get the base ID (URI or system ID) from where relative URLs will be resolved.
Specified by:
getSystemId in interface TemplatesHandler
Returns:
The systemID that was set with setSystemId(String id)

setSystemId

public void setSystemId(java.lang.String id)
Implements javax.xml.transform.sax.TemplatesHandler.setSystemId() Get the base ID (URI or system ID) from where relative URLs will be resolved.
Specified by:
setSystemId in interface TemplatesHandler
Parameters:
id - Base URI for this stylesheet

getTemplates

public Templates getTemplates()
Implements javax.xml.transform.sax.TemplatesHandler.getTemplates() When a TemplatesHandler object is used as a ContentHandler or DocumentHandler for the parsing of transformation instructions, it creates a Templates object, which the caller can get once the SAX events have been completed.
Specified by:
getTemplates in interface TemplatesHandler
Returns:
The Templates object that was created during the SAX event process, or null if no Templates object has been created.


Copyright © 2001 Apache XML Project. All Rights Reserved.