Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(STYLESHEETCONSTRUCTIONCONTEXT_HEADER_GUARD_1357924680)
19 #define STYLESHEETCONSTRUCTIONCONTEXT_HEADER_GUARD_1357924680
42 XALAN_DECLARE_XERCES_CLASS(AttributeList)
43 XALAN_DECLARE_XERCES_CLASS(DocumentHandler)
44 XALAN_DECLARE_XERCES_CLASS(Locator)
48 XALAN_CPP_NAMESPACE_BEGIN
92 ELEMNAME_UNDEFINED = -2,
151 ELEMNAME_EXTENSION_HANDLER
169 const Locator* locator,
187 const XalanDOMChar* theString,
309 const Locator* locator,
312 bool allowVariableReferences =
true,
313 bool allowKeyFunction =
true) = 0;
329 const Locator* locator,
330 const XalanDOMChar* str,
332 bool allowVariableReferences =
true,
333 bool allowKeyFunction =
true) = 0;
347 const Locator* locator,
350 bool allowVariableReferences =
true,
351 bool allowKeyFunction =
true) = 0;
365 const Locator* locator,
366 const XalanDOMChar* str,
368 bool allowVariableReferences =
true,
369 bool allowKeyFunction =
true) = 0;
383 const Locator* locator,
384 const XalanDOMChar* str,
387 bool allowVariableReferences =
true,
388 bool allowKeyFunction =
true) = 0;
395 virtual const Locator*
434 DocumentHandler* docHandler,
436 ErrorHandler* theErrorHandler = 0) = 0;
449 const XalanDOMChar* theAttributeName,
451 const Locator* theLocator = 0) = 0;
464 const XalanDOMChar* theAttributeName,
466 const Locator* theLocator = 0) = 0;
479 const XalanDOMChar* theName,
481 const Locator* theLocator = 0) = 0;
508 virtual XalanDOMChar*
520 virtual XalanDOMChar*
522 const XalanDOMChar* theString,
524 bool fTerminate =
true) = 0;
537 const Locator* locator,
538 const XalanDOMChar* name,
539 const XalanDOMChar* stringedValue,
552 const XalanDOMChar* theString,
566 const Locator* locator,
567 const XalanDOMChar* str,
604 const Locator* locator = 0,
605 bool fUseDefault =
false) = 0;
618 const XalanDOMChar* qname,
620 const Locator* locator = 0,
621 bool fUseDefault =
false) = 0;
637 const XalanDOMChar* qnameTokens,
639 const Locator* locator = 0,
640 bool fUseDefault =
false) = 0;
659 const AttributeList& atts,
660 const Locator* locator = 0) = 0;
679 const XalanDOMChar* name,
680 const AttributeList& atts,
681 const Locator* locator = 0) = 0;
700 const XalanDOMChar* chars,
703 bool disableOutputEscaping,
704 const Locator* locator = 0) = 0;
723 const XalanDOMChar* name,
724 const AttributeList& atts,
726 const Locator* locator = 0) = 0;
749 const XPath& theMatchPattern,
756 XALAN_CPP_NAMESPACE_END
760 #endif // STYLESHEETCONSTRUCTIONCONTEXT_HEADER_GUARD_1357924680
virtual const AVTPart * createAVTPart(const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos)=0
Create an AVTPart instance.
virtual double getXSLTVersionSupported() const =0
Get the latest XSLT version currently supported.
@ ELEMNAME_DECIMAL_FORMAT
virtual const Locator * getLocatorFromStack() const =0
Get the locator from the top of the locator stack.
This class defines an interface for classes that resolve namespace prefixes to their URIs.
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
virtual const XalanDOMString & getXSLTNamespaceURI() const =0
Retrieve the URI for the current XSLT namespace, for example, "http://www.w3.org/1999/XSL/Transform".
virtual const XalanQName * createXalanQName(const XalanDOMChar *qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false)=0
Create a XalanQName-derived instance.
virtual URLAutoPtrType getURLFromString(const XalanDOMString &urlString)=0
Determine the fully qualified URI for a string.
Xalan implementation of deque.
This class contains information concerning a match pattern in a stylesheet.
virtual XalanDOMString & getCachedString()=0
Get a cached string for temporary use.
virtual const XalanQName ** tokenizeQNames(size_type &count, const XalanDOMChar *qnameTokens, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false)=0
Tokenize a string and return the QNames corresponding to those tokens.
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 XPath * createXPath(const Locator *locator, const XalanDOMString &str, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true)=0
Create and initialize an xpath and return it.
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.
#define XALAN_XSLT_EXPORT
virtual ~StylesheetConstructionContext()
@ ELEMNAME_TEXT_LITERAL_RESULT
virtual bool releaseCachedString(XalanDOMString &theString)=0
Return a cached string.
virtual void pushLocatorOnStack(const Locator *locator)=0
Push a locator on to the locator stack.
virtual XalanDOMString & getURLStringFromString(const XalanDOMString &urlString, const XalanDOMString &base, XalanDOMString &theResult)=0
Determine the fully qualified URI for a string.
@ ELEMNAME_LITERAL_RESULT
virtual void destroy(StylesheetRoot *theStylesheetRoot)=0
Destroy a StylesheetRoot instance.
virtual ElemTemplateElement * createElement(Stylesheet &stylesheetTree, const XalanDOMChar *chars, XalanDOMString::size_type length, bool preserveSpace, bool disableOutputEscaping, const Locator *locator=0)=0
Create a an element for literal text.
virtual Stylesheet * create(StylesheetRoot &theStylesheetRoot, const XalanDOMString &theBaseIdentifier)=0
Create a new Stylesheet instance.
virtual const AVT ** allocateAVTPointerVector(size_type theLength)=0
Allocate a vector of const AVT* of the specified length.
StylesheetConstructionContext(MemoryManager &theManager)
virtual URLAutoPtrType getURLFromString(const XalanDOMString &urlString, const XalanDOMString &base)=0
Determine the fully qualified URI for a string.
virtual bool isXSLUseAttributeSetsAttribute(const XalanDOMChar *theAttributeName, const Stylesheet &theStylesheet, const Locator *theLocator=0)=0
Given an name, determine if it is the xsl:use-attribute-sets attribute.
virtual StylesheetRoot * create(const XSLTInputSource &theInputSource)=0
Create a new StylesheetRoot instance.
Class to hold a part, either a string or XPath, of an Attribute Value Template.
virtual void reset()=0
Reset the instance.
This class represents the base stylesheet or an "import" stylesheet.
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
@ ELEMNAME_NAMESPACE_ALIAS
virtual const XalanDOMString & getXalanXSLNameSpaceURL() const =0
Get the Xalan namespace for built-in extensions.
Class to hold an Attribute Value Template.
virtual XalanDOMChar * allocateXalanDOMCharVector(const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos, bool fTerminate=true)=0
Allocate a vector of XalanDOMChar of the specified size.
virtual XalanDOMChar * allocateXalanDOMCharVector(XalanDOMString::size_type theLength)=0
Allocate a vector of XalanDOMChar of the specified size.
virtual XalanDOMString & getURLStringFromString(const XalanDOMString &urlString, XalanDOMString &theResult)=0
Determine the fully qualified URI for a string.
@ ELEMNAME_PRESERVE_SPACE
virtual const XalanQName * createXalanQName(const XalanDOMString &qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false)=0
Create a XalanQName-derived instance.
virtual const XalanDOMString & getPooledString(const XalanDOMString &theString)=0
Get a pooled string given the source string.
virtual bool isValidQName(const XalanDOMChar *theName, const Stylesheet &theStylesheet, const Locator *theLocator=0)=0
Given an name, determine if it is a valid QName.
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
XalanQName::NamespacesStackType NamespacesStackType
@ ELEMNAME_FORWARD_COMPATIBLE
@ ELEMNAME_EXTENSION_CALL
XALAN_CPP_NAMESPACE_BEGIN XALAN_USING_XERCES(Locator)
virtual const AVTPart ** allocateAVTPartPointerVector(size_type theLength)=0
Allocate a vector of const AVTPart* of the specified length.
URISupport::URLAutoPtrType URLAutoPtrType
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
virtual XalanDocument * parseXML(const XalanDOMString &urlString, DocumentHandler *docHandler, XalanDocument *docToRegister, ErrorHandler *theErrorHandler=0)=0
Read in the XML file, either producing a Document or calling SAX events, and register the document in...
virtual eElementToken getElementToken(const XalanDOMString &name) const =0
Given an XSL tag name, return an integer token that corresponds to the enums defined above.
virtual XPath * createMatchPattern(const Locator *locator, const XalanDOMString &str, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true)=0
Create and initialize an xpath for a match pattern and return it.
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
Class to represent a qualified name.
XERCES_CPP_NAMESPACE_QUALIFIER DocumentHandler DocumentHandlerType
virtual XPath * createXPath(const Locator *locator, const XalanDOMChar *str, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true)=0
Create and initialize an xpath and return it.
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl...
@ ELEMNAME_APPLY_TEMPLATES
virtual const XalanMatchPatternData * createXalanMatchPatternData(const ElemTemplate &theTemplate, size_type thePosition, const XalanDOMString &theTargetString, const XPath &theMatchPattern, const XalanDOMString &thePatternString, XPath::eMatchScore thePriority)=0
Create an instance of XalanMatchPatternData, which describes data related to a match pattern and temp...
virtual const AVTPart * createAVTPart(const Locator *locator, const XalanDOMChar *str, XalanDOMString::size_type len, const PrefixResolver &resolver)=0
Create an AVTPart instance.
virtual const AVT * createAVT(const Locator *locator, const XalanDOMChar *name, const XalanDOMChar *stringedValue, const PrefixResolver &resolver)=0
Create an AVT instance.
virtual bool isXMLSpaceAttribute(const XalanDOMChar *theAttributeName, const Stylesheet &theStylesheet, const Locator *theLocator=0)=0
Given an name, determine if it is the xml:space attribute.
virtual const XalanDOMString & getPooledString(const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos)=0
Get a pooled string given the source character array.
virtual XPath * createMatchPattern(const Locator *locator, const XalanDOMChar *str, const PrefixResolver &resolver, bool allowVariableReferences=true, bool allowKeyFunction=true)=0
Create and initialize an xpath for a match pattern 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)=0
Create and initialize an xpath and return it.
eElementToken
IDs for XSL element types.
virtual ElemTemplateElement * createElement(int token, Stylesheet &stylesheetTree, const AttributeList &atts, const Locator *locator=0)=0
Create a stylesheet element for the provided type.
virtual void popLocatorStack()=0
Pop the locator from the top of the locator stack.
virtual StylesheetRoot * create(const XalanDOMString &theBaseIdentifier)=0
Create a new StylesheetRoot instance.
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|