|
| StylesheetExecutionContextDefault (MemoryManager &theManager, XSLTEngineImpl &xsltProcessor, XPathEnvSupport &theXPathEnvSupport, DOMSupport &theDOMSupport, XObjectFactory &theXObjectFactory, XalanNode *theCurrentNode=0, const NodeRefListBase *theContextNodeList=0, const PrefixResolver *thePrefixResolver=0) |
| Construct a StylesheetExecutionContextDefault object.
|
|
| StylesheetExecutionContextDefault (MemoryManager &theManager, XalanNode *theCurrentNode=0, const NodeRefListBase *theContextNodeList=0, const PrefixResolver *thePrefixResolver=0) |
| Construct a StylesheetExecutionContextDefault object.
|
|
virtual | ~StylesheetExecutionContextDefault () |
|
void | setXPathEnvSupport (XPathEnvSupport *theSupport) |
| Set the XPathEnvSupport instance.
|
|
void | setDOMSupport (DOMSupport *theDOMSupport) |
| Set the DOMSupport instance.
|
|
void | setXObjectFactory (XObjectFactory *theXObjectFactory) |
| Set the XObjectFactory instance.
|
|
void | setXSLTProcessor (XSLTEngineImpl *theProcessor) |
| Set the DOMSupport instance.
|
|
bool | getUsePerInstanceDocumentFactory () const |
|
void | setUsePerInstanceDocumentFactory (bool fValue) |
|
virtual bool | getQuietConflictWarnings () const |
| Determine whether conflicts should be reported.
|
|
virtual bool | getCopyTextNodesOnly () const |
| If this function returns true, only text nodes can be copied to the result tree.
|
|
virtual void | pushCopyTextNodesOnly (bool copyTextNodesOnly) |
| Set the flag that determines if only text nodes can be copied to the result tree.
|
|
virtual bool | popCopyTextNodesOnly () |
| Pop the last flag setting that determines if only text nodes can be copied to the result tree.
|
|
virtual void | pushProcessCurrentAttribute (bool processAttribute) |
| Set the flag that determines if the current attribute should be executed.
|
|
virtual bool | popProcessCurrentAttribute () |
| Pops the last flag setting that determines if the current attribute should be executed.
|
|
virtual void | pushSkipElementAttributes (bool skipAttributes) |
| Set the flag that determines if an element's attributes should be skipped.
|
|
virtual bool | getSkipElementAttributes () const |
| Get the last flag setting that determines if an element's attributes should be skipped.
|
|
virtual bool | popSkipElementAttributes () |
| Pops the last flag setting that determines if an element's attributes should be skipped.
|
|
virtual void | pushExecuteIf (bool executeIf) |
| Set flag that determines if the if test was true.
|
|
virtual bool | popExecuteIf () |
| Pop the flag that determines if the if test was true.
|
|
virtual XalanNode * | getRootDocument () const |
| Retrieve root document for stylesheet.
|
|
virtual void | setRootDocument (XalanNode *theDocument) |
| Set root document for stylesheet.
|
|
virtual void | setStylesheetRoot (const StylesheetRoot *theStylesheet) |
| Set root stylesheet for stylesheet.
|
|
virtual const XalanQName * | getCurrentMode () const |
| Retrieve the current mode.
|
|
virtual void | pushCurrentMode (const XalanQName *theMode) |
| Set the current mode.
|
|
virtual void | popCurrentMode () |
| Pop the current mode.
|
|
virtual const ElemTemplate * | getCurrentTemplate () const |
| Retrieve the current template.
|
|
virtual void | pushCurrentTemplate (const ElemTemplate *theTemplate) |
| Set the current template.
|
|
virtual void | popCurrentTemplate () |
|
virtual bool | isElementPending () const |
| See if there is an element pending.
|
|
virtual void | replacePendingAttribute (const XalanDOMChar *theName, const XalanDOMChar *theNewType, const XalanDOMChar *theNewValue) |
| Replace the contents of a pending attribute.
|
|
virtual void | pushOutputContext (FormatterListener *flistener=0) |
|
virtual void | popOutputContext () |
|
virtual void | addResultAttribute (const XalanDOMString &aname, const XalanDOMString &value) |
| Add a result attribute to the list of pending attributes.
|
|
virtual void | addResultAttribute (const XalanDOMString &aname, const XalanDOMChar *value) |
| Add a result attribute to the list of pending attributes.
|
|
virtual void | copyNamespaceAttributes (const XalanNode &src) |
| Add namespace attributes for a node to the list of pending attributes.
|
|
virtual const XalanDOMString * | getResultPrefixForNamespace (const XalanDOMString &theNamespace) const |
| Retrieve the result prefix corresponding to a namespace.
|
|
virtual const XalanDOMString * | getResultNamespaceForPrefix (const XalanDOMString &thePrefix) const |
| Retrieve the result namespace corresponding to a prefix.
|
|
virtual bool | isPendingResultPrefix (const XalanDOMString &thePrefix) |
| Determine whether or not a prefix is in use on the pending element or the pending attributes.
|
|
virtual void | getUniqueNamespaceValue (XalanDOMString &theValue) const |
| Generate a random namespace prefix guaranteed to be unique.
|
|
virtual FormatterListener * | getFormatterListener () const |
| Get the current formatter listener.
|
|
virtual void | setFormatterListener (FormatterListener *flistener) |
| Set the current formatter listener.
|
|
virtual int | getIndent () const |
| Retrieve the current number of spaces to indent.
|
|
virtual void | setIndent (int indentAmount) |
| Set the current number of spaces to indent.
|
|
virtual const XPath * | createMatchPattern (const XalanDOMString &str, const PrefixResolver &resolver) |
| Create and initialize an xpath and return it.
|
|
virtual void | returnXPath (const XPath *xpath) |
| Return the XPath created by createMatchPattern().
|
|
virtual void | pushTopLevelVariables (const ParamVectorType &topLevelParams) |
| Set a list of top level variables in the specified execution context stylesheet.
|
|
virtual const XObjectPtr | createVariable (const XPath &xpath, XalanNode *contextNode, const PrefixResolver &resolver) |
| Execute the supplied XPath and and create a variable in the current context.
|
|
virtual void | pushVariable (const XalanQName &name, const ElemTemplateElement *element, const XalanDOMString &str, XalanNode *contextNode, const PrefixResolver &resolver) |
| Execute an XPath using the provided expression, and push the result as a variable in the context of the supplied element.
|
|
virtual void | pushVariable (const XalanQName &name, const XObjectPtr val, const ElemTemplateElement *element) |
| Push a named variable onto the variables stack.
|
|
virtual void | pushVariable (const XalanQName &name, const ElemVariable *var, const ElemTemplateElement *element) |
| Push a named variable onto the processor variable stack The variable will be evaluated when first referenced.
|
|
virtual void | pushVariable (const XalanQName &name, const ElemTemplateElement *element, const XPath &xpath, XalanNode *contextNode, const PrefixResolver &resolver) |
| Execute the supplied XPath and push the result as a variable in the current context.
|
|
virtual void | pushContextMarker () |
| Push a context marker onto the stack to let us know when to stop searching for a var.
|
|
virtual void | popContextMarker () |
| Pop the current context from the current context stack.
|
|
virtual void | resolveTopLevelParams () |
| Resolve the params that were pushed by the caller.
|
|
virtual void | clearTopLevelParams () |
| Reset the vector of top level parameters.
|
|
virtual void | beginParams () |
| Initiate context to accept a new set of parameters.
|
|
virtual void | endParams () |
| Indicate parameter set is complete.
|
|
virtual void | pushParam (const XalanQName &qName, const XObjectPtr &theValue) |
| Push a single paramter onto the latest initialized paramter set.
|
|
virtual const XObjectPtr | getParamVariable (const XalanQName &theName) |
| Given a name, return a string representing the value, but don't look in the global space.
|
|
virtual void | pushElementFrame (const ElemTemplateElement *elem) |
| Push a frame marker for an element.
|
|
virtual void | popElementFrame () |
| Pop a frame marker for an element.
|
|
virtual int | getGlobalStackFrameIndex () const |
| Get the top of the global stack frame.
|
|
virtual int | getCurrentStackFrameIndex () const |
| Get the top of the stack frame from where a search for a variable or param should take place.
|
|
virtual void | pushCurrentStackFrameIndex (int currentStackFrameIndex=-1) |
| Set the top of the stack frame from where a search for a variable or param should take place.
|
|
virtual void | popCurrentStackFrameIndex () |
| Pop the last stack frame index setting.
|
|
virtual void | startDocument () |
| Receive notification of the beginning of a document.
|
|
virtual void | endDocument () |
| Receive notification of the end of a document.
|
|
virtual void | startElement (const XalanDOMChar *name) |
| Receive notification of the beginning of an element.
|
|
virtual void | endElement (const XalanDOMChar *name) |
| Receive notification of the end of an element.
|
|
virtual void | characters (const XalanDOMChar *ch, fl_size_type start, fl_size_type length) |
| Receive notification of character data.
|
|
virtual void | charactersRaw (const XalanDOMChar *ch, fl_size_type start, fl_size_type length) |
| Receive notification of character data.
|
|
virtual void | comment (const XalanDOMChar *data) |
| Called when a Comment is to be constructed.
|
|
virtual void | processingInstruction (const XalanDOMChar *target, const XalanDOMChar *data) |
| Receive notification of a processing instruction.
|
|
virtual void | flushPending () |
| Flush the pending element.
|
|
virtual void | cloneToResultTree (const XalanNode &node, const Locator *locator) |
| Clone a node to the result tree.
|
|
virtual void | cloneToResultTree (const XalanNode &node, XalanNode::NodeType nodeType, bool overrideStrip, bool shouldCloneAttributes, const Locator *locator) |
| Clone a node to the result tree.
|
|
virtual void | beginCreateXResultTreeFrag (XalanNode *sourceNode) |
| Initiate creation of a result tree fragment.
|
|
virtual const XObjectPtr | endCreateXResultTreeFrag () |
| Indicate sthe completion of result tree fragment.
|
|
virtual void | beginFormatToText (XalanDOMString &theResult) |
| Initiate to put execution result in string.
|
|
virtual void | endFormatToText () |
| Indicates the completion of the result string.
|
|
virtual void | outputToResultTree (const XObject &xobj, const Locator *locator) |
| Output an object to the result tree by doing the right conversions.
|
|
virtual void | outputResultTreeFragment (const XObject &theTree, const Locator *locator) |
| Given a result tree fragment, walk the tree and output it to the result stream.
|
|
virtual const XalanDOMString & | getXSLNameSpaceURL () const |
| Determine the full XSLT Namespace URI.
|
|
virtual const XalanDOMString & | getXalanXSLNameSpaceURL () const |
| Special Xalan namespace for built-in extensions.
|
|
virtual bool | findOnElementRecursionStack (const ElemTemplateElement *theElement) const |
| Determine if an element is on the recursion stack.
|
|
virtual void | pushOnElementRecursionStack (const ElemTemplateElement *theElement) |
| Push an element onto the recursion stack.
|
|
virtual const ElemTemplateElement * | popElementRecursionStack () |
| Pop an element off the recursion stack.
|
|
virtual bool | returnXResultTreeFrag (XResultTreeFrag *theXResultTreeFrag) |
| This is a hook that XResultTreeFrag instances (which are reference counted), can notify the owning StylesheetExecutionContext instance when they are dereferenced and can be cleaned up.
|
|
virtual eEscapeURLs | getEscapeURLs () const |
| Get the value for run-time escaping of URLs.
|
|
virtual void | setEscapeURLs (eEscapeURLs value) |
| Set the value for run-time escaping of URLs.
|
|
virtual eOmitMETATag | getOmitMETATag () const |
| Get the value for run-time omission of URLs.
|
|
void | setOmitMETATag (eOmitMETATag value) |
| Get the value for run-time omission of URLs.
|
|
virtual FormatterListener * | createFormatterToXML (Writer &writer, const XalanDOMString &version=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), bool doIndent=false, int indent=eDefaultXMLIndentAmount, const XalanDOMString &encoding=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), const XalanDOMString &mediaType=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), const XalanDOMString &doctypeSystem=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), const XalanDOMString &doctypePublic=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), bool xmlDecl=true, const XalanDOMString &standalone=XalanDOMString(XalanMemMgrs::getDummyMemMgr())) |
| Create a new FormatterToXML instance.
|
|
virtual FormatterListener * | createFormatterToHTML (Writer &writer, const XalanDOMString &encoding=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), const XalanDOMString &mediaType=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), const XalanDOMString &doctypeSystem=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), const XalanDOMString &doctypePublic=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), bool doIndent=true, int indent=eDefaultHTMLIndentAmount, bool escapeURLs=true, bool omitMetaTag=false) |
| Create a new FormatterToHTML instance.
|
|
virtual FormatterListener * | createFormatterToText (Writer &writer, const XalanDOMString &encoding) |
| FormatterToText instance constructor.
|
|
virtual NodeSorter * | getNodeSorter () |
| Get node sorter instance.
|
|
virtual XalanNumberFormatAutoPtr | createXalanNumberFormat () |
| Create a new XalanNumberFormat instance.
|
|
virtual tl_size_type | getTraceListeners () const |
| Determine the number of trace listeners.
|
|
virtual void | fireGenerateEvent (const GenerateEvent &ge) |
| Fire a generate event.
|
|
virtual void | fireTraceEvent (const TracerEvent &te) |
| Fire a trace event.
|
|
virtual void | fireSelectEvent (const SelectionEvent &se) |
| Fire a selection event.
|
|
virtual bool | getTraceSelects () const |
| If this is set to true, simple traces of template calls are made.
|
|
virtual void | traceSelect (const ElemTemplateElement &theStylesheetElement, const NodeRefListBase &nl, const XPath *xpath) |
| Compose a diagnostic trace of the current selection.
|
|
virtual int | collationCompare (const XalanDOMString &theLHS, const XalanDOMString &theRHS, XalanCollationServices::eCaseOrder theCaseOrder=XalanCollationServices::eDefault) |
| Compare two strings using the collation of the current locale.
|
|
virtual int | collationCompare (const XalanDOMString &theLHS, const XalanDOMString &theRHS, const XalanDOMString &theLocale, XalanCollationServices::eCaseOrder theCaseOrder=XalanCollationServices::eDefault) |
| Compare two strings using the collation of the supplied locale.
|
|
virtual int | collationCompare (const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanCollationServices::eCaseOrder theCaseOrder=XalanCollationServices::eDefault) |
| Compare two strings using the collation of the current locale.
|
|
virtual int | collationCompare (const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, const XalanDOMChar *theLocale, XalanCollationServices::eCaseOrder theCaseOrder=XalanCollationServices::eDefault) |
| Compare two strings using the collation of the current locale.
|
|
const CollationCompareFunctor * | installCollationCompareFunctor (CollationCompareFunctor *theFunctor) |
|
CollationCompareFunctor * | uninstallCollationCompareFunctor () |
|
virtual void | formatNumber (double number, const XalanDOMString &pattern, XalanDOMString &theResult, const XalanNode *context=0, const Locator *locator=0) |
| Formats a number according to the specified pattern.
|
|
virtual void | formatNumber (double number, const XalanDOMString &pattern, const XalanDOMString &dfsName, XalanDOMString &theResult, const XalanNode *context=0, const Locator *locator=0) |
| Formats a number according to the specified pattern.
|
|
const FormatNumberFunctor * | installFormatNumberFunctor (FormatNumberFunctor *formatNumberFunctor) |
|
FormatNumberFunctor * | uninstallFormatNumberFunctor () |
|
virtual PrintWriter * | createPrintWriter (XalanOutputStream *theTextOutputStream) |
| Create a PrintWriter for the provided stream.
|
|
virtual PrintWriter * | createPrintWriter (const XalanDOMString &theFileName, const XalanDOMString &theEncoding) |
| Create a PrintWriter.
|
|
virtual PrintWriter * | createPrintWriter (StreamType &theStream) |
| Create a PrintWriter using the provided ostream instance.
|
|
virtual PrintWriter * | createPrintWriter (FILE *theStream) |
| Create a PrintWriter using the provided FILE instance.
|
|
virtual CountersTable & | getCountersTable () |
| Get the counters table, which is a table of cached results that is used by ElemNumber.
|
|
virtual void | characters (const XalanNode &node) |
| Send character data from a node to the result tree.
|
|
virtual void | characters (const XObjectPtr &xobject) |
| Send character data from an XObject to the result tree.
|
|
virtual void | charactersRaw (const XalanNode &node) |
| Send raw character data from a node to the result tree.
|
|
virtual void | charactersRaw (const XObjectPtr &xobject) |
| Send raw character data from an XObject to the result tree.
|
|
virtual void | reset () |
| Reset the instance.
|
|
virtual XalanNode * | getCurrentNode () const |
| Retrieve the node currently being executed.
|
|
virtual void | pushCurrentNode (XalanNode *theCurrentNode) |
| Change the node currently being executed.
|
|
virtual void | popCurrentNode () |
| Reset the node currently being executed.
|
|
virtual bool | isNodeAfter (const XalanNode &node1, const XalanNode &node2) const |
| Determine if a node is after another node, in document order.
|
|
virtual void | pushContextNodeList (const NodeRefListBase &theList) |
| Push the node list for current context.
|
|
virtual void | popContextNodeList () |
| Pop the node list for current context.
|
|
virtual const NodeRefListBase & | getContextNodeList () const |
| Get the node list for current context.
|
|
virtual size_type | getContextNodeListLength () const |
|
virtual size_type | getContextNodeListPosition (const XalanNode &contextNode) const |
|
virtual bool | elementAvailable (const XalanQName &theQName) const |
| Determine if an external element is available.
|
|
virtual bool | elementAvailable (const XalanDOMString &theName, const Locator *locator) const |
| Determine if an external element is available by resolving a string to a QName.
|
|
virtual bool | functionAvailable (const XalanQName &theQName) const |
| Determine if a function is available.
|
|
virtual bool | functionAvailable (const XalanDOMString &theName, const Locator *locator) const |
| Determine if a function is available.
|
|
virtual const XObjectPtr | extFunction (const XalanDOMString &theNamespace, const XalanDOMString &functionName, XalanNode *context, const XObjectArgVectorType &argVec, const Locator *locator) |
| Handle an extension function.
|
|
virtual XalanDocument * | parseXML (MemoryManager &theManager, const XalanDOMString &urlString, const XalanDOMString &base, ErrorHandler *theErrorHandler=0) const |
| Provides support for XML parsing service.
|
|
virtual MutableNodeRefList * | borrowMutableNodeRefList () |
| Borrow a cached MutableNodeRefList instance.
|
|
virtual bool | returnMutableNodeRefList (MutableNodeRefList *theList) |
| Return a previously borrowed MutableNodeRefList instance.
|
|
virtual MutableNodeRefList * | createMutableNodeRefList (MemoryManager &theManager) const |
| Create a MutableNodeRefList with the appropriate context.
|
|
virtual void | createUseAttributeSetIndexesOnStack () |
|
virtual UseAttributeSetIndexes & | getUseAttributeSetIndexes () |
|
virtual void | popUseAttributeSetIndexesFromStack () |
|
virtual void | pushInvoker (const ElemTemplateElement *invoker) |
| Push the element that will invoke non children elements (i.e templates, attribute-sets)
|
|
virtual void | popInvoker () |
| Pop the element that invoked non children elements.
|
|
virtual const ElemTemplateElement * | getInvoker () const |
| Get the lastest element that has invoked a non-child element.
|
|
virtual MutableNodeRefList & | createAndPushMutableNodeRefList () |
|
virtual void | releaseAndPopMutableNodeRefList () |
|
virtual void | pushXObjectPtr (const XObjectPtr &xobjectPtr) |
|
virtual void | popXObjectPtr () |
|
virtual void | createAndPushNodesToTransformList (const NodeRefListBase *nodeList) |
|
virtual XalanNode * | getNextNodeToTransform () |
|
virtual void | popNodesToTransformList () |
|
virtual XalanDOMString & | getAndPushCachedString () |
| Get a string that is cached on a stack.
|
|
virtual XalanDOMString & | getLastCachedString () |
| Gets the last string that was cached on the stack.
|
|
virtual XalanDOMString & | getAndPopCachedString () |
| Gets the last string to be cached on the stack and pops it from the stack.
|
|
virtual XalanDOMString & | getCachedString () |
| Get a cached string for temporary use.
|
|
virtual bool | releaseCachedString (XalanDOMString &theString) |
| Return a cached string.
|
|
virtual void | getNodeSetByKey (XalanNode *context, const XalanQName &qname, const XalanDOMString &ref, const Locator *locator, MutableNodeRefList &nodelist) |
| Given a valid element key, return the corresponding node list.
|
|
virtual void | getNodeSetByKey (XalanNode *context, const XalanDOMString &name, const XalanDOMString &ref, const Locator *locator, MutableNodeRefList &nodelist) |
| Given a valid element key, return the corresponding node list.
|
|
virtual const XObjectPtr | getVariable (const XalanQName &name, const Locator *locator=0) |
| Given a name, locate a variable in the current context, and return a pointer to the object.
|
|
virtual const PrefixResolver * | getPrefixResolver () const |
| Retrieve the resolver for namespaces.
|
|
virtual void | setPrefixResolver (const PrefixResolver *thePrefixResolver) |
| Change the resolver for namespaces.
|
|
virtual const XalanDOMString * | getNamespaceForPrefix (const XalanDOMString &prefix) const |
| Retrieve the URI corresponding to a namespace prefix.
|
|
virtual const XalanDOMString & | findURIFromDoc (const XalanDocument *owner) const |
| Given a DOM Document, tell what URI was used to parse it.
|
|
virtual const XalanDOMString & | getUnparsedEntityURI (const XalanDOMString &theName, const XalanDocument &theDocument) const |
| The getUnparsedEntityURI function returns the URI of the unparsed entity with the specified name in the same document as the context node (see [3.3 Unparsed Entities]).
|
|
virtual bool | shouldStripSourceNode (const XalanText &node) |
| Determine if a text node should be stripped from the source tree, as if it weren't there.
|
|
virtual XalanDocument * | getSourceDocument (const XalanDOMString &theURI) const |
| Get the document associated with the given URI.
|
|
virtual void | setSourceDocument (const XalanDOMString &theURI, XalanDocument *theDocument) |
| Associate a document with a given URI.
|
|
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.
|
|
XalanSourceTreeDocument * | getSourceTreeFactory (MemoryManager &theManager) const |
| Get a XalanSourceTreeDocument, primarily for creating result tree fragments.
|
|
| StylesheetExecutionContext (MemoryManager &theMemoryManager, XObjectFactory *theXObjectFactory=0) |
|
virtual | ~StylesheetExecutionContext () |
|
| XPathExecutionContext (MemoryManager &theMemoryManager, XObjectFactory *theXObjectFactory=0) |
|
virtual | ~XPathExecutionContext () |
|
XObjectFactory & | getXObjectFactory () const |
| Retrieve the factory object for creating XObjects.
|
|
| ExecutionContext (MemoryManager &theMemoryManager) |
|
virtual | ~ExecutionContext () |
|
bool | hasPreserveOrStripSpaceConditions () const |
|
MemoryManager & | getMemoryManager () const |
|
MemoryManager & | getExceptionMemoryManager () const |
|
| ProblemListenerBase () |
|
virtual | ~ProblemListenerBase () |
|