17 #if !defined(XALAN_STYLESHEETHANDLER_HEADER_GUARD)
18 #define XALAN_STYLESHEETHANDLER_HEADER_GUARD
49 XALAN_CPP_NAMESPACE_BEGIN
103 return m_constructionContext.getMemoryManager();
132 virtual void characters (
const XMLCh*
const chars,
const unsigned int length);
169 virtual void cdata(
const XMLCh*
const ch,
const unsigned int length);
220 virtual void comment(
const XMLCh*
const data);
323 virtual void endElement(
const XMLCh*
const name);
345 const XalanDOMChar* attrName,
362 const XalanDOMChar* elementName,
363 const XalanDOMChar* aname,
380 const XalanDOMChar* elementName,
390 const XalanDOMChar* name,
399 const XalanDOMChar* name,
408 enum { eElemEmptyAllocatorBlockSize = 10, eElemTextBlockSize = 10 };
418 illegalAttributeError(
419 const XalanDOMChar* theElementName,
420 const XalanDOMChar* theAttributeName,
425 const XalanDOMChar* theMessage1,
426 const XalanDOMChar* theMessage2,
431 const XalanDOMChar* theMessage1,
438 const XalanDOMChar* theMessage2,
449 const XalanDOMChar* theMessage1,
450 const XalanDOMChar* theMessage2,
455 const XalanDOMChar* theMessage1,
479 processAccumulatedText();
482 processTopLevelElement(
483 const XalanDOMChar* name,
487 bool& fPreserveSpace,
488 bool& fSpaceAttrProcessed);
492 const XalanDOMChar* name,
495 bool& fPreserveSpace,
496 bool& fSpaceAttrProcessed);
499 processPreserveStripSpace(
500 const XalanDOMChar* name,
506 appendChildElementToParent(
511 appendChildElementToParent(
516 appendChildElementToParent(
522 inExtensionElement()
const;
525 processExtensionElement(
526 const XalanDOMChar* name,
532 checkForOrAddVariableName(
561 ElemTemplateStackType m_elemStack;
568 ElemTextLiteralStackType m_whiteSpaceElems;
575 class LastPoppedHolder
580 m_stylesheetHandler(theStylesheetHandler),
599 return m_lastPopped == theRHS;
605 return m_lastPopped != theRHS;
611 if (theRHS != m_lastPopped)
615 m_lastPopped = theRHS;
620 swap(LastPoppedHolder& theOther)
624 m_lastPopped = theOther.m_lastPopped;
626 theOther.m_lastPopped = theTemp;
640 if (theNewElement != m_lastPopped)
644 m_lastPopped = theNewElement;
650 operator=(
const LastPoppedHolder&);
652 LastPoppedHolder(
const LastPoppedHolder&);
664 friend class LastPoppedHolder;
669 LastPoppedHolder m_lastPopped;
680 bool m_foundStylesheet;
687 bool m_foundNotImport;
705 unsigned long m_locatorsPushed;
709 enum { eVariablesStackDefault = 20 };
711 QNameSetVectorType m_inScopeVariableNamesStack;
718 const XalanDOMChar* name,
723 getNamespaceFromStack(
const XalanDOMChar* theName,
727 getNamespaceForPrefixFromStack(
const XalanDOMString& thePrefix)
const;
729 class PushPopIncludeState;
731 friend class StylesheetHandler::PushPopIncludeState;
733 class PushPopIncludeState
739 ~PushPopIncludeState();
749 LastPoppedHolder m_lastPopped;
751 const bool m_inTemplate;
753 const bool m_foundStylesheet;
757 const bool m_foundNotImport;
775 XALAN_CPP_NAMESPACE_END
779 #endif // XALAN_STYLESHEETHANDLER_HEADER_GUARD
XalanSet< XalanQNameByReference > QNameSetType
Definition: StylesheetHandler.hpp:76
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
Definition: ElemTemplate.hpp:41
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
Definition: AttributeListImpl.hpp:39
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
XalanVector< ElemTemplateElement * > ElemTemplateStackType
Definition: StylesheetHandler.hpp:72
Definition: ElemTemplateElement.hpp:74
Definition: NamespacesHandler.hpp:50
This class processes a stylesheet via SAX events, and inits the given stylesheet. ...
Definition: StylesheetHandler.hpp:67
XalanVector< QNameSetType, ConstructWithMemoryManagerTraits< QNameSetType > > QNameSetVectorType
Definition: StylesheetHandler.hpp:78
bool operator!=(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1133
Definition: XalanElemTextAllocator.hpp:39
void swap(XalanVector< Type > &theLHS, XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1100
Definition: ElemTextLiteral.hpp:38
Definition: ExtensionNSHandler.hpp:54
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
Definition: XalanElemEmptyAllocator.hpp:39
Definition: XalanDOMString.hpp:42
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
Definition: DOMStringHelper.hpp:277
Definition: StylesheetConstructionContext.hpp:73
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84
unsigned int size_type
Definition: XalanDOMString.hpp:53
MemoryManagerType & getMemoryManager()
Definition: StylesheetHandler.hpp:101
Class to represent a qualified name: "The name of an internal XSLT object, specifically a named templ...
Definition: XalanQName.hpp:68
XalanVector< bool > BoolStackType
Definition: StylesheetHandler.hpp:75
XalanVector< ElemTemplateElement * > ElemTextLiteralStackType
Definition: StylesheetHandler.hpp:73
Xalan implementation of deque.
Definition: XalanDeque.hpp:160