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