An default implementation of an abtract class which provides support for constructing the internal representation of a stylesheet.
More...
|
| StylesheetConstructionContextDefault (MemoryManager &theManager, XSLTEngineImpl &processor, XPathFactory &xpathFactory, VectorAllocatorSizeType theXalanDOMCharVectorAllocatorBlockSize=eDefaultXalanDOMCharVectorBlockSize, XalanAVTAllocator::size_type theAVTAllocatorBlockSize=eDefaultAVTBlockSize, XalanAVTPartSimpleAllocator::size_type theAVTPartSimpleAllocatorBlockSize=eDefaultAVTPartSimpleBlockSize, XalanAVTPartXPathAllocator::size_type theAVTPartXPathAllocatorBlockSize=eDefaultAVTPartXPathBlockSize, XalanQNameByValueAllocator::size_type theXalanQNameByValueAllocatorBlockSize=eDefaultXalanQNameByValueBlockSize, VectorAllocatorSizeType thePointerVectorAllocatorBlockSize=eDefaultPointerVectorBlockSize) |
|
virtual | ~StylesheetConstructionContextDefault () |
|
virtual void | problem (eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode) |
| Function that is called when a problem event occurs.
|
|
virtual void | problem (eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode) |
| Function that is called when a problem event occurs.
|
|
virtual void | reset () |
| Reset the instance.
|
|
virtual const XalanDOMString & | getPooledString (const XalanDOMString &theString) |
| Get a pooled string given the source string.
|
|
virtual const XalanDOMString & | getPooledString (const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos) |
| Get a pooled string given the source character array.
|
|
virtual XalanDOMString & | getCachedString () |
| Get a cached string for temporary use.
|
|
virtual bool | releaseCachedString (XalanDOMString &theString) |
| Return a cached string.
|
|
virtual StylesheetRoot * | create (const XalanDOMString &theBaseIdentifier) |
| Create a new StylesheetRoot instance.
|
|
virtual StylesheetRoot * | create (const XSLTInputSource &theInputSource) |
| Create a new StylesheetRoot instance.
|
|
virtual Stylesheet * | create (StylesheetRoot &theStylesheetRoot, const XalanDOMString &theBaseIdentifier) |
| Create a new Stylesheet instance.
|
|
virtual void | destroy (StylesheetRoot *theStylesheetRoot) |
| Destroy a StylesheetRoot instance.
|
|
virtual URLAutoPtrType | getURLFromString (const XalanDOMString &urlString) |
| Determine the fully qualified URI for a string.
|
|
virtual XalanDOMString & | getURLStringFromString (const XalanDOMString &urlString, XalanDOMString &theResult) |
| Determine the fully qualified URI for a string.
|
|
virtual URLAutoPtrType | getURLFromString (const XalanDOMString &urlString, const XalanDOMString &base) |
| Determine the fully qualified URI for a string.
|
|
virtual XalanDOMString & | getURLStringFromString (const XalanDOMString &urlString, const XalanDOMString &base, XalanDOMString &theResult) |
| Determine the fully qualified URI for a string.
|
|
virtual const XalanDOMString & | getXSLTNamespaceURI () const |
| Retrieve the URI for the current XSLT namespace, for example, "http://www.w3.org/1999/XSL/Transform".
|
|
virtual XPath * | createMatchPattern (const Locator *locator, const XalanDOMString &str, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true) |
| Create and initialize an xpath for a match pattern and return it.
|
|
virtual XPath * | createMatchPattern (const Locator *locator, const XalanDOMChar *str, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true) |
| Create and initialize an xpath for a match pattern and return it.
|
|
virtual XPath * | createXPath (const Locator *locator, const XalanDOMString &str, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true) |
| Create and initialize an xpath and return it.
|
|
virtual XPath * | createXPath (const Locator *locator, const XalanDOMChar *str, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true) |
| Create and initialize an xpath and return it.
|
|
virtual XPath * | createXPath (const Locator *locator, const XalanDOMChar *str, XalanDOMString::size_type len, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true) |
| Create and initialize an xpath and return it.
|
|
virtual const Locator * | getLocatorFromStack () const |
| Get the locator from the top of the locator stack.
|
|
virtual void | pushLocatorOnStack (const Locator *locator) |
| Push a locator on to the locator stack.
|
|
virtual void | popLocatorStack () |
| Pop the locator from the top of the locator stack.
|
|
virtual const XalanDOMString & | getXalanXSLNameSpaceURL () const |
| Get the Xalan namespace for built-in extensions.
|
|
virtual XalanDocument * | parseXML (const XalanDOMString &urlString, DocumentHandler *docHandler, XalanDocument *docToRegister, ErrorHandler *theErrorHandler=0) |
| Read in the XML file, either producing a Document or calling SAX events, and register the document in a table.
|
|
virtual bool | isXMLSpaceAttribute (const XalanDOMChar *theAttributeName, const Stylesheet &theStylesheet, const Locator *theLocator=0) |
| Given an name, determine if it is the xml:space attribute.
|
|
virtual bool | isXSLUseAttributeSetsAttribute (const XalanDOMChar *theAttributeName, const Stylesheet &theStylesheet, const Locator *theLocator=0) |
| Given an name, determine if it is the xsl:use-attribute-sets attribute.
|
|
virtual bool | isValidQName (const XalanDOMChar *theName, const Stylesheet &theStylesheet, const Locator *theLocator=0) |
| Given an name, determine if it is a valid QName.
|
|
virtual eElementToken | getElementToken (const XalanDOMString &name) const |
| Given an XSL tag name, return an integer token that corresponds to the enums defined above.
|
|
virtual double | getXSLTVersionSupported () const |
| Get the latest XSLT version currently supported.
|
|
virtual XalanDOMChar * | allocateXalanDOMCharVector (XalanDOMString::size_type theLength) |
| Allocate a vector of XalanDOMChar of the specified size.
|
|
virtual XalanDOMChar * | allocateXalanDOMCharVector (const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos, bool fTerminate=true) |
| Allocate a vector of XalanDOMChar of the specified size.
|
|
virtual const AVT * | createAVT (const Locator *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const PrefixResolver &resolver) |
| Create an AVT instance.
|
|
virtual const AVTPart * | createAVTPart (const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos) |
| Create an AVTPart instance.
|
|
virtual const AVTPart * | createAVTPart (const Locator *locator, const XalanDOMChar *str, XalanDOMString::size_type len, const PrefixResolver &resolver) |
| Create an AVTPart instance.
|
|
virtual const AVT ** | allocateAVTPointerVector (size_type theLength) |
| Allocate a vector of const AVT* of the specified length.
|
|
virtual const AVTPart ** | allocateAVTPartPointerVector (size_type theLength) |
| Allocate a vector of const AVTPart* of the specified length.
|
|
virtual const XalanQName * | createXalanQName (const XalanDOMString &qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false) |
| Create a XalanQName-derived instance.
|
|
virtual const XalanQName * | createXalanQName (const XalanDOMChar *qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false) |
| Create a XalanQName-derived instance.
|
|
virtual const XalanQName ** | tokenizeQNames (size_type &count, const XalanDOMChar *qnameTokens, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false) |
| Tokenize a string and return the QNames corresponding to those tokens.
|
|
virtual ElemTemplateElement * | createElement (int token, Stylesheet &stylesheetTree, const AttributeListType &atts, const Locator *locator=0) |
|
virtual ElemTemplateElement * | createElement (int token, Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeListType &atts, const Locator *locator=0) |
|
virtual ElemTemplateElement * | createElement (Stylesheet &stylesheetTree, const XalanDOMChar *chars, XalanDOMString::size_type length, bool preserveSpace, bool disableOutputEscaping, const Locator *locator=0) |
| Create a an element for literal text.
|
|
virtual ElemTemplateElement * | createElement (Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeListType &atts, ExtensionNSHandler &handler, const Locator *locator=0) |
|
virtual const XalanMatchPatternData * | createXalanMatchPatternData (const ElemTemplate &theTemplate, size_type thePosition, const XalanDOMString &theTargetString, const XPath &theMatchPattern, const XalanDOMString &thePatternString, XPath::eMatchScore thePriority) |
| Create an instance of XalanMatchPatternData, which describes data related to a match pattern and template in stylesheet.
|
|
| StylesheetConstructionContext (MemoryManager &theManager) |
|
virtual | ~StylesheetConstructionContext () |
|
virtual ElemTemplateElement * | createElement (int token, Stylesheet &stylesheetTree, const AttributeList &atts, const Locator *locator=0)=0 |
| Create a stylesheet element for the provided type.
|
|
virtual ElemTemplateElement * | createElement (int token, Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeList &atts, const Locator *locator=0)=0 |
| Create a elements which have specific names.
|
|
virtual ElemTemplateElement * | createElement (Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeList &atts, ExtensionNSHandler &handler, const Locator *locator=0)=0 |
| Create an element to handle an extension element.
|
|
| XPathConstructionContext (MemoryManager &theManager) |
|
virtual | ~XPathConstructionContext () |
|
MemoryManager & | getMemoryManager () const |
|
MemoryManager & | getMemoryManager () |
|
| ProblemListenerBase () |
|
virtual | ~ProblemListenerBase () |
|
An default implementation of an abtract class which provides support for constructing the internal representation of a stylesheet.
Definition at line 100 of file StylesheetConstructionContextDefault.hpp.