| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | _accessExternalStylesheet
protocols allowed for external references set by the stylesheet processing instruction, Document() function, Import and Include element. |
| private Map | |
| public List | |
| private int | |
| public String | |
| public String | |
| private DOMCache | _domCache
DOM cache handling |
| protected DOMImplementation | _domImplementation
DOMImplementation caching for basis library |
| private KeyIndex | |
| public String | |
| public Map | _formatSymbols
Decimal number format symbol handling |
| protected boolean | |
| public boolean | |
| public int | |
| private int | |
| public boolean | |
| private Map | _keyIndexes
Index(es) for <xsl:key> / key() / id() |
| public String | |
| public String | |
| private MessageHandler | _msgHandler
Message handling - implementation of <xsl:message> |
| public boolean | |
| private boolean | |
| public String | |
| protected Templates | |
| public String | |
| public static final int | |
| private static final String | |
| public static final int | |
| private static final String | |
| protected String[] | |
| protected String[] | |
| private FileOutputStream | |
| protected List | |
| protected int | pbase
Parameter handling |
| protected int | pframe
Parameter handling |
| protected StringValueHandler | |
| protected int | |
| protected int[] | |
| protected String[] | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAuxiliaryClass(Class<?> auxClass)
Implements com.
|
| public void | addCdataElement(String name)
Add's a name of an element whose text contents should be output as CDATA |
| public void | addDecimalFormat(String name, DecimalFormatSymbols symbols)
Adds a DecimalFormat object to the _formatSymbols map. |
| public final Object | addParameter(String name, Object value)
Implements com. Add a new global parameter if not already in the current frame. |
| public final Object | addParameter(String name, Object value, boolean isDefault)
Add a new global or local parameter if not already in the current frame. |
| private final void | |
| public void | buildKeyIndex(String
is the name of the index (the key or ##id) name, int is the node handle of the node to insert node, String is the value that will look up the node in the given index value)Adds a value to a key/id index |
| public void | buildKeyIndex(String
is the name of the index (the key or ##id) name, DOM is the DOM dom)Create an empty KeyIndex in the DOM case |
| private KeyIndex | Returns: a KeyIndex.the name of the index (the key or ##id) name)Return KeyIndex for the buildKeyIndex methods. |
| public void | buildKeys(DOM document, DTMAxisIterator iterator, SerializationHandler handler, int root)
Implements com. This method builds key indexes - it is overridden in the compiled translet in cases where the <xsl:key> element is used |
| public final void | characters(final String string, SerializationHandler handler)
Used by some compiled code as a shortcut for passing strings to the output handler |
| public void | |
| public void | |
| public KeyIndex | |
| public final void | |
| public String | |
| public String | |
| public Class | getAuxiliaryClass(String className)
Implements com.
|
| public final DecimalFormat | |
| public DOMCache | |
| public KeyIndex | Returns: a KeyIndex.the name of the index (the key or ##id) name)Returns the index for a given key (or id). |
| public String[] | |
| public String[] | |
| public final Object | |
| public Templates | |
| public int[] | |
| public String[] | |
| public boolean | |
| public final DOMAdapter | |
| public Document | |
| public SerializationHandler | |
| public SerializationHandler | |
| public boolean | overrideDefaultParser()
Implements com. Return the state of the services mechanism feature. |
| public final void | |
| public final void | postInitialization()
After constructing the translet object, this method must be called to perform any version-specific post-initialization that's required. |
| public final void | prepassDocument(DOM document)
Give the translet an opportunity to perform a prepass on the document to extract any information that it can store in an optimized form. |
| public void | |
| public final void | |
| public void | |
| public void | |
| public void | |
| public void | setDOMCache(DOMCache cache)
Sets the DOM cache used for additional documents loaded using the document() function. |
| public void | |
| public void | setKeyIndexDom(String name, DOM document)
This method builds key indexes - it is overridden in the compiled translet in cases where the <xsl:key> element is used |
| public final void | setMessageHandler(MessageHandler handler)
Set the translet's message handler - must implement MessageHandler |
| public void | setOverrideDefaultParser(boolean flag)
Implements com. Set the state of the services mechanism feature. |
| private void | |
| public void | |
| protected void | transferOutputSettings(SerializationHandler handler)
Transfer the output settings to the output post-processor |
| public abstract void | transform(DOM document, DTMAxisIterator iterator, SerializationHandler handler)
Redeclares com. Main transform() method - this is overridden by the compiled translet |
| public final void | transform(DOM document, SerializationHandler handler)
Implements com. Calls transform() with a given output handler |
| _accessErr | back to summary |
|---|---|
| private String _accessErr | |
| _accessExternalStylesheet | back to summary |
|---|---|
| private String _accessExternalStylesheet protocols allowed for external references set by the stylesheet processing instruction, Document() function, Import and Include element. | |
| _auxClasses | back to summary |
|---|---|
| private Map<String, Class<?>> _auxClasses | |
| _cdata | back to summary |
|---|---|
| public List<String> _cdata | |
| _currentRootForKeys | back to summary |
|---|---|
| private int _currentRootForKeys | |
| _doctypePublic | back to summary |
|---|---|
| public String _doctypePublic | |
| _doctypeSystem | back to summary |
|---|---|
| public String _doctypeSystem | |
| _domCache | back to summary |
|---|---|
| private DOMCache _domCache DOM cache handling | |
| _domImplementation | back to summary |
|---|---|
| protected DOMImplementation _domImplementation DOMImplementation caching for basis library | |
| _emptyKeyIndex | back to summary |
|---|---|
| private KeyIndex _emptyKeyIndex | |
| _encoding | back to summary |
|---|---|
| public String _encoding | |
| _formatSymbols | back to summary |
|---|---|
| public Map<String, DecimalFormat> _formatSymbols Decimal number format symbol handling | |
| _hasIdCall | back to summary |
|---|---|
| protected boolean _hasIdCall | |
| _indent | back to summary |
|---|---|
| public boolean _indent | |
| _indentamount | back to summary |
|---|---|
| public int _indentamount | |
| _indexSize | back to summary |
|---|---|
| private int _indexSize | |
| _isStandalone | back to summary |
|---|---|
| public boolean _isStandalone | |
| _keyIndexes | back to summary |
|---|---|
| private Map<String, KeyIndex> _keyIndexes Index(es) for <xsl:key> / key() / id() | |
| _mediaType | back to summary |
|---|---|
| public String _mediaType | |
| _method | back to summary |
|---|---|
| public String _method | |
| _msgHandler | back to summary |
|---|---|
| private MessageHandler _msgHandler Message handling - implementation of <xsl:message> | |
| _omitHeader | back to summary |
|---|---|
| public boolean _omitHeader | |
| _overrideDefaultParser | back to summary |
|---|---|
| private boolean _overrideDefaultParser | |
| _standalone | back to summary |
|---|---|
| public String _standalone | |
| _templates | back to summary |
|---|---|
| protected Templates _templates | |
| _version | back to summary |
|---|---|
| public String _version | |
| CURRENT_TRANSLET_VERSION | back to summary |
|---|---|
| public static final int CURRENT_TRANSLET_VERSION | |
| EMPTYSTRING | back to summary |
|---|---|
| private static final String EMPTYSTRING | |
| FIRST_TRANSLET_VERSION | back to summary |
|---|---|
| public static final int FIRST_TRANSLET_VERSION | |
| ID_INDEX_NAME | back to summary |
|---|---|
| private static final String ID_INDEX_NAME | |
| namesArray | back to summary |
|---|---|
| protected String[] namesArray | |
| namespaceArray | back to summary |
|---|---|
| protected String[] namespaceArray | |
| output | back to summary |
|---|---|
| private FileOutputStream output | |
| paramsStack | back to summary |
|---|---|
| protected List<Object> paramsStack | |
| pbase | back to summary |
|---|---|
| protected int pbase Parameter handling | |
| pframe | back to summary |
|---|---|
| protected int pframe Parameter handling | |
| stringValueHandler | back to summary |
|---|---|
| protected StringValueHandler stringValueHandler | |
| transletVersion | back to summary |
|---|---|
| protected int transletVersion | |
| typesArray | back to summary |
|---|---|
| protected int[] typesArray | |
| urisArray | back to summary |
|---|---|
| protected String[] urisArray | |
| VER_SPLIT_NAMES_ARRAY | back to summary |
|---|---|
| public static final int VER_SPLIT_NAMES_ARRAY | |
| AbstractTranslet | back to summary |
|---|---|
| public AbstractTranslet() | |
| addAuxiliaryClass | back to summary |
|---|---|
| public void addAuxiliaryClass(Class<?> auxClass) Implements com. | |
| addCdataElement | back to summary |
|---|---|
| public void addCdataElement(String name) Add's a name of an element whose text contents should be output as CDATA | |
| addDecimalFormat | back to summary |
|---|---|
| public void addDecimalFormat(String name, DecimalFormatSymbols symbols) Adds a DecimalFormat object to the _formatSymbols map. The entry is created with the input DecimalFormatSymbols. | |
| addParameter | back to summary |
|---|---|
| public final Object addParameter(String name, Object value) Implements com. Add a new global parameter if not already in the current frame. To setParameters of the form {http://foo.bar}xyz This needs to get mapped to an instance variable in the class The mapping created so that the global variables in the generated class become http$colon$$flash$$flash$foo$dot$bar$colon$xyz | |
| addParameter | back to summary |
|---|---|
| public final Object addParameter(String name, Object value, boolean isDefault) Add a new global or local parameter if not already in the current frame. The 'isDefault' parameter is set to true if the value passed is the default value from the <xsl:parameter> element's select attribute or element body. | |
| buildIDIndex | back to summary |
|---|---|
| private final void buildIDIndex(DOM document) Leverages the Key Class to implement the XSLT id() function. buildIdIndex creates the index (##id) that Key Class uses. The index contains the element node index (int) and Id value (String). | |
| buildKeyIndex | back to summary |
|---|---|
| public void buildKeyIndex(String name, int node, String value) Adds a value to a key/id index | |
| buildKeyIndex | back to summary |
|---|---|
| public void buildKeyIndex(String name, DOM dom) Create an empty KeyIndex in the DOM case | |
| buildKeyIndexHelper | back to summary |
|---|---|
| private KeyIndex buildKeyIndexHelper(String name) Return KeyIndex for the buildKeyIndex methods. Note the difference from the public getKeyIndex method, this method creates a new Map if keyIndexes does not exist. | |
| buildKeys | back to summary |
|---|---|
| public void buildKeys(DOM document, DTMAxisIterator iterator, SerializationHandler handler, int root) throws TransletException Implements com. This method builds key indexes - it is overridden in the compiled translet in cases where the <xsl:key> element is used | |
| characters | back to summary |
|---|---|
| public final void characters(final String string, SerializationHandler handler) throws TransletException Used by some compiled code as a shortcut for passing strings to the output handler | |
| clearParameters | back to summary |
|---|---|
| public void clearParameters() Clears the parameter stack. | |
| closeOutputHandler | back to summary |
|---|---|
| public void closeOutputHandler(SerializationHandler handler) | |
| createKeyIndex | back to summary |
|---|---|
| public KeyIndex createKeyIndex() Creates a KeyIndex object of the desired size - don't want to resize!!! | |
| displayMessage | back to summary |
|---|---|
| public final void displayMessage(String msg) Pass a message to the message handler - used by Message class. | |
| getAccessError | back to summary |
|---|---|
| public String getAccessError() Returns the access error. | |
| getAllowedProtocols | back to summary |
|---|---|
| public String getAllowedProtocols() Return allowed protocols for accessing external stylesheet. | |
| getAuxiliaryClass | back to summary |
|---|---|
| public Class Implements com. | |
| getDecimalFormat | back to summary |
|---|---|
| public final DecimalFormat getDecimalFormat(String name) Retrieves a named DecimalFormat object from the _formatSymbols map. | |
| getDOMCache | back to summary |
|---|---|
| public DOMCache getDOMCache() Returns the DOM cache used for this translet. Used by the LoadDocument class (if present) when the document() function is used. | |
| getKeyIndex | back to summary |
|---|---|
| public KeyIndex getKeyIndex(String name) Returns the index for a given key (or id). The index implements our internal iterator interface | |
| getNamesArray | back to summary |
|---|---|
| public String[] getNamesArray() Implements com. | |
| getNamespaceArray | back to summary |
|---|---|
| public String[] getNamespaceArray() Implements com. | |
| getParameter | back to summary |
|---|---|
| public final Object getParameter(String name) Get the value of a parameter from the current frame or null if undefined. | |
| getTemplates | back to summary |
|---|---|
| public Templates getTemplates() | |
| getTypesArray | back to summary |
|---|---|
| public int[] getTypesArray() Implements com. | |
| getUrisArray | back to summary |
|---|---|
| public String[] getUrisArray() Implements com. | |
| hasIdCall | back to summary |
|---|---|
| public boolean hasIdCall() | |
| makeDOMAdapter | back to summary |
|---|---|
| public final DOMAdapter makeDOMAdapter(DOM dom) throws TransletException Wrap the initial input DOM in a dom adapter. This adapter is wrapped in a DOM multiplexer if the document() function is used (handled by compiled code in the translet - see compiler/Stylesheet.compileTransform()). | |
| newDocument | back to summary |
|---|---|
| public Document newDocument(String uri, String qname) throws ParserConfigurationException | |
| openOutputHandler | back to summary |
|---|---|
| public SerializationHandler openOutputHandler(String filename, boolean append) throws TransletException Multiple output document extension. See compiler/TransletOutput for actual implementation. | |
| openOutputHandler | back to summary |
|---|---|
| public SerializationHandler openOutputHandler(String filename) throws TransletException | |
| overrideDefaultParser | back to summary |
|---|---|
| public boolean overrideDefaultParser() Implements com. Return the state of the services mechanism feature. | |
| popParamFrame | back to summary |
|---|---|
| public final void popParamFrame() Pop the topmost parameter frame. | |
| postInitialization | back to summary |
|---|---|
| public final void postInitialization() After constructing the translet object, this method must be called to perform any version-specific post-initialization that's required. | |
| prepassDocument | back to summary |
|---|---|
| public final void prepassDocument(DOM document) Give the translet an opportunity to perform a prepass on the document to extract any information that it can store in an optimized form. Currently, it only extracts information about attributes of type ID. | |
| printInternalState | back to summary |
|---|---|
| public void printInternalState() Debugging | |
| pushParamFrame | back to summary |
|---|---|
| public final void pushParamFrame() Push a new parameter frame. | |
| setAccessError | back to summary |
|---|---|
| public void setAccessError(String accessErr) Sets the access error. | |
| setAllowedProtocols | back to summary |
|---|---|
| public void setAllowedProtocols(String protocols) Set allowed protocols for accessing external stylesheet. | |
| setAuxiliaryClasses | back to summary |
|---|---|
| public void setAuxiliaryClasses(Map<String, Class<?>> auxClasses) | |
| setDOMCache | back to summary |
|---|---|
| public void setDOMCache(DOMCache cache) Sets the DOM cache used for additional documents loaded using the document() function. | |
| setIndexSize | back to summary |
|---|---|
| public void setIndexSize(int size) This method is used to pass the largest DOM size to the translet. Needed to make sure that the translet can index the whole DOM. | |
| setKeyIndexDom | back to summary |
|---|---|
| public void setKeyIndexDom(String name, DOM document) This method builds key indexes - it is overridden in the compiled translet in cases where the <xsl:key> element is used | |
| setMessageHandler | back to summary |
|---|---|
| public final void setMessageHandler(MessageHandler handler) Set the translet's message handler - must implement MessageHandler | |
| setOverrideDefaultParser | back to summary |
|---|---|
| public void setOverrideDefaultParser(boolean flag) Implements com. Set the state of the services mechanism feature. | |
| setRootForKeys | back to summary |
|---|---|
| private void setRootForKeys(int root) | |
| setTemplates | back to summary |
|---|---|
| public void setTemplates(Templates templates) | |
| transferOutputSettings | back to summary |
|---|---|
| protected void transferOutputSettings(SerializationHandler handler) Transfer the output settings to the output post-processor | |
| transform | back to summary |
|---|---|
| public abstract void transform(DOM document, DTMAxisIterator iterator, SerializationHandler handler) throws TransletException Redeclares com. Main transform() method - this is overridden by the compiled translet | |
| transform | back to summary |
|---|---|
| public final void transform(DOM document, SerializationHandler handler) throws TransletException Implements com. Calls transform() with a given output handler | |