This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all stylesheets in the tree.
More...
|
| | StylesheetRoot (const XalanDOMString &baseIdentifier, StylesheetConstructionContext &constructionContext) |
| | Construct a Stylesheet from a Document. More...
|
| |
| virtual | ~StylesheetRoot () |
| |
| MemoryManager & | getMemoryManager () |
| |
| virtual void | postConstruction (StylesheetConstructionContext &constructionContext) |
| | Called after construction is completed. More...
|
| |
| void | process (XalanNode *sourceTree, XSLTResultTarget &outputTarget, StylesheetExecutionContext &executionContext) const |
| | Transform the source tree to the output in the given result tree target. More...
|
| |
| FormatterListener * | setupFormatterListener (XSLTResultTarget &outputTarget, StylesheetExecutionContext &executionContext) const |
| | Have the stylesheet create the appropriate FormatterListener, based on the XSLTResultTarget provided. More...
|
| |
| FormatterListener::eFormat | getOutputMethod () const |
| | Return the output method that was specified in the stylesheet. More...
|
| |
| bool | isOutputMethodSet () const |
| |
| XalanDOMString & | getOutputVersion (XalanDOMString &theResult) const |
| | Get the output version string that was specified in the xsl:output element. More...
|
| |
| bool | getOutputIndent () const |
| | Determine if output indenting was specified in the xsl:output element. More...
|
| |
| bool | getHTMLOutputIndent () const |
| | Determine if output indenting should be enabled for HTML output. More...
|
| |
| XalanDOMString & | getOutputEncoding (XalanDOMString &theResult) const |
| | Get the output encoding string that was specified in the xsl:output element. More...
|
| |
| XalanDOMString & | getOutputMediaType (XalanDOMString &theResult) const |
| | Get the media-type string that was specified in the xsl:output element. More...
|
| |
| XalanDOMString & | getOutputDoctypeSystem (XalanDOMString &theResult) const |
| | Get the doctype-system-id string that was specified in the xsl:output element. More...
|
| |
| XalanDOMString & | getOutputDoctypePublic (XalanDOMString &theResult) const |
| | Get the doctype-public-id string that was specified in the xsl:output element. More...
|
| |
| bool | getOmitOutputXMLDecl () const |
| | Determine whether to output XML declarations. More...
|
| |
| XalanDOMString & | getOutputStandalone (XalanDOMString &theResult) const |
| | Get the standalone string that was specified in the xsl:output element. More...
|
| |
| ElemTemplateElement * | getDefaultTextRule () const |
| | Get the template representing the default rule for text. More...
|
| |
| ElemTemplateElement * | getDefaultRule () const |
| | Get the template representing the default rule. More...
|
| |
| ElemTemplateElement * | getDefaultRootRule () const |
| | Get the template representing the default root rule. More...
|
| |
| void | processOutputSpec (const XalanDOMChar *name, const AttributeListType &atts, StylesheetConstructionContext &constructionContext) |
| | Process the "xsl:output" element. More...
|
| |
| URLStackType & | getImportStack () |
| | Retrieve the stack of imported stylesheets. More...
|
| |
| const URLStackType & | getImportStack () const |
| | Retrieve the stack of imported stylesheets. More...
|
| |
| void | setIndentResult (bool bIndent) |
| | Change the value of the flag for indenting results. More...
|
| |
| void | setOutputMethod (FormatterListener::eFormat meth) |
| | Change the value of the output method, one of the FormatterListener::eFormat values. More...
|
| |
| bool | hasCDATASectionElements () const |
| |
| bool | isCDATASectionElementName (const XalanQName &theQName) const |
| | Determine if a QName is in the list of CDATA section element QNames. More...
|
| |
| void | getNodeSetByKey (XalanNode *context, const XalanQName &qname, const XalanDOMString &ref, const PrefixResolver &resolver, MutableNodeRefList &nodelist, StylesheetExecutionContext &executionContext, const Locator *locator, KeyTablesTableType &theKeysTable) const |
| | Given a valid element key, return the corresponding node list. More...
|
| |
| unsigned long | getNextElemNumberID () |
| |
| unsigned long | getElemNumberCount () const |
| |
| bool | hasPreserveOrStripSpaceElements () const |
| |
| bool | shouldStripSourceNode (const XalanText &theNode) const |
| | Check to see if a whitespace text node should be stripped from the source tree. More...
|
| |
| void | addAttributeSet (ElemAttributeSet &theAttributeSet) |
| |
| const ElemAttributeSet * | getAttributeSet (StylesheetExecutionContext &theExecutionContext, const XalanQName &theQName, size_type matchingIndex, const Locator *theLocator) const |
| | Get the nth attribute set with the specified name. More...
|
| |
| | Stylesheet (StylesheetRoot &root, const XalanDOMString &baseIdentifier, StylesheetConstructionContext &constructionContext) |
| | Constructor for a Stylesheet needs a Document. More...
|
| |
| virtual | ~Stylesheet () |
| |
| MemoryManager & | getMemoryManager () |
| |
| double | getXSLTVerDeclared () const |
| | Retrieve XSLT version number. More...
|
| |
| void | setXSLTVerDeclared (double ver) |
| | Set XSLT version number. More...
|
| |
| const StylesheetRoot & | getStylesheetRoot () const |
| | Retrieve the root stylesheet object. More...
|
| |
| StylesheetRoot & | getStylesheetRoot () |
| | Retrieve the root stylesheet object. More...
|
| |
| const NamespacesStackType & | getNamespaces () const |
| | Retrieve the stack of namespace lists. More...
|
| |
| NamespacesStackType & | getNamespaces () |
| | Retrieve the stack of namespace lists. More...
|
| |
| const NamespacesHandler & | getNamespacesHandler () const |
| |
| NamespacesHandler & | getNamespacesHandler () |
| |
| const NamespaceVectorType & | getNamespaceDecls () const |
| | Retrieve the list of namespace declarations currently in effect. More...
|
| |
| NamespaceVectorType & | getNamespaceDecls () |
| | Retrieve the list of namespace declarations currently in effect. More...
|
| |
| void | setNamespaceDecls (const NamespaceVectorType &ns) |
| | Set the list of namespace declarations currently in effect. More...
|
| |
| void | pushNamespaces (const AttributeListType &atts) |
| | Push the namespace declarations from the current attribute list onto the namespace stack. More...
|
| |
| void | popNamespaces () |
| | Pop a namespace declaration from the namespace stack. More...
|
| |
| void | addWhitespaceElement (const XalanSpaceNodeTester &theTester) |
| |
| bool | isAttrOK (const XalanDOMChar *attrName, const AttributeListType &atts, XalanSize_t which, StylesheetConstructionContext &constructionContext) const |
| | See if this is a xmlns attribute, and, if so, process it. More...
|
| |
| const XalanDOMString * | getNamespaceFromStack (const XalanDOMString &nodeName, XalanDOMString &theBuffer) const |
| | Get the namespace from a qualified name. More...
|
| |
| const XalanDOMString * | getNamespaceFromStack (const XalanDOMChar *nodeName, XalanDOMString &theBuffer) const |
| | Get the namespace from a qualified name. More...
|
| |
| const XalanDOMString * | getNamespaceForPrefixFromStack (const XalanDOMString &prefix) const |
| | Get the namespace from a prefix by searching the stack of namespace lists. More...
|
| |
| const XalanDOMString * | getNamespaceForPrefixFromStack (const XalanDOMChar *prefix) const |
| | Get the namespace from a prefix by searching the stack of namespace lists. More...
|
| |
| const XalanDOMString * | getNamespaceForPrefix (const XalanDOMString &prefix, StylesheetConstructionContext &constructionContext) const |
| | Get the namespace for a prefix, and report an error if it wasn't found. More...
|
| |
| const XalanDOMString * | getNamespaceForPrefix (const XalanDOMChar *prefix, StylesheetConstructionContext &constructionContext) const |
| | Get the namespace for a prefix, and report an error if it wasn't found. More...
|
| |
| void | processExcludeResultPrefixes (StylesheetConstructionContext &theConstructionContext, const XalanDOMChar *theValue) |
| | See if a namespace should be excluded. More...
|
| |
| void | addTemplate (ElemTemplate *theTemplate, StylesheetConstructionContext &constructionContext) |
| | Add a template to the list of names templates. More...
|
| |
| bool | getYesOrNo (const XalanDOMChar *aname, const XalanDOMChar *val, StylesheetConstructionContext &constructionContext) const |
| | Process an attribute that has the value of 'yes' or 'no'. More...
|
| |
| const XalanDOMString & | getBaseIdentifier () const |
| | Retrieve the base identifier with which this stylesheet is associated. More...
|
| |
| const XalanDOMString & | getCurrentIncludeBaseIdentifier () const |
| | Retrieve the base identifier for the most recently included stylesheet. More...
|
| |
| void | processNSAliasElement (const XalanDOMChar *name, const AttributeListType &atts, StylesheetConstructionContext &constructionContext) |
| | Process an xsl:namespace-alias element. More...
|
| |
| void | processDecimalFormatElement (StylesheetConstructionContext &constructionContext, const AttributeListType &atts, const Locator *locator=0) |
| | Process an xsl:decimal-format element. More...
|
| |
| const XalanDecimalFormatSymbols * | getDecimalFormatSymbols (const XalanQName &theQName) const |
| | Retrieve the XalanDecimalFormatSymbols instance associated with the QName. More...
|
| |
| void | addImport (Stylesheet *theStylesheet) |
| | Add an imported stylesheet. More...
|
| |
| bool | isWrapperless () const |
| | whether there is a wrapper template More...
|
| |
| ElemTemplateElement * | initWrapperless (StylesheetConstructionContext &constructionContext, const Locator *locator) |
| |
| URLStackType & | getIncludeStack () |
| | Retrieve the stack of who's including who. More...
|
| |
| void | processKeyElement (const PrefixResolver &nsContext, const AttributeListType &atts, const Locator *locator, StylesheetConstructionContext &constructionContext) |
| | Process the xsl:key element. More...
|
| |
| const ElemTemplate * | findNamedTemplate (const XalanQName &qname) const |
| | Locate a template via the "name" attribute. More...
|
| |
| const ElemTemplate * | findTemplate (StylesheetExecutionContext &executionContext, XalanNode *targetNode) const |
| | Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft. More...
|
| |
| const ElemTemplate * | findTemplate (StylesheetExecutionContext &executionContext, XalanNode *targetNode, XalanNode::NodeType targetNodeType, const XalanQName &mode, bool onlyUseImports) const |
| | Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft. More...
|
| |
| const PatternTableVectorType * | locateElementMatchPatternDataList (const XalanDOMString &theName) const |
| | Given a name, locate the start of a list of possible templates that match that name. More...
|
| |
| const PatternTableVectorType * | locateAttributeMatchPatternDataList (const XalanDOMString &theName) const |
| | Given a name, locate the start of a list of possible templates that match that name. More...
|
| |
| const PatternTableVectorType * | locateMatchPatternDataList (const XalanNode &theNode, XalanNode::NodeType targetNodeType) const |
| | Given a XalanNode, locate the start of a list of possible templates that match it. More...
|
| |
| void | processExtensionNamespace (StylesheetConstructionContext &theConstructionContext, const XalanDOMString &uri) |
| | Add an extension namespace handler. More...
|
| |
| ExtensionNSHandler * | lookupExtensionNSHandler (const XalanDOMString &uri) const |
| | Return the handler for a given extension namespace. More...
|
| |
| void | setTopLevelVariable (ElemVariable *var) |
| | Set a top level variable. More...
|
| |
| void | pushTopLevelVariables (StylesheetExecutionContext &executionContext, const ParamVectorType &topLevelParams) const |
| | Set a list of top level variables in the specified execution context stylesheet. More...
|
| |
| virtual const XalanDOMString * | getNamespaceForPrefix (const XalanDOMString &prefix) const |
| | Retrieve a namespace corresponding to a prefix. More...
|
| |
| virtual const XalanDOMString & | getURI () const |
| | Retrieve the base URI for the resolver. More...
|
| |
| const XalanDOMString & | getXSLTNamespaceURI () const |
| |
| void | setXSLTNamespaceURI (const XalanDOMString &theURI) |
| |
| const ElemTemplate * | getFirstTemplate () const |
| |
| | PrefixResolver () |
| |
| | PrefixResolver (const PrefixResolver &) |
| |
| virtual | ~PrefixResolver () |
| |
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all stylesheets in the tree.
Definition at line 63 of file StylesheetRoot.hpp.