16 #if !defined(XALAN_STYLESHEETROOT_HEADER_GUARD)
17 #define XALAN_STYLESHEETROOT_HEADER_GUARD
43 XALAN_CPP_NAMESPACE_BEGIN
94 return m_version.getMemoryManager();
128 setupFormatterListener(
141 return m_outputMethod;
159 theResult.
assign(m_version);
173 return m_indentResult == eIndentNoImplicit ||
174 m_indentResult == eIndentNoExplicit ?
false :
true;
188 return m_indentResult == eIndentNoExplicit ?
false :
true;
200 theResult.
assign(m_encoding);
214 theResult.
assign(m_mediatype);
228 theResult.
assign(m_doctypeSystem);
242 theResult.
assign(m_doctypePublic);
255 return m_omitxmlDecl;
267 theResult.
assign(m_standalone);
280 return m_defaultTextRule;
291 return m_defaultRule;
302 return m_defaultRootRule;
314 const XalanDOMChar* name,
326 return m_importStack;
337 return m_importStack;
348 m_indentResult = bIndent ==
true ? eIndentYesExplicit : eIndentNoExplicit;
360 m_outputMethod = meth;
366 assert(m_hasCDATASectionElems ==
false && m_cdataSectionElems.empty() ==
true ||
367 m_hasCDATASectionElems ==
true && m_cdataSectionElems.empty() ==
false);
369 return m_hasCDATASectionElems;
380 isCDATASectionElementName(
const XalanQName& theQName)
const;
397 const XalanQName& qname,
402 KeyTablesTableType& theKeysTable)
const;
407 return m_elemNumberNextID++;
413 return m_elemNumberNextID;
419 return m_whitespaceElements.empty() ==
false;
423 shouldStripSourceNode(
const XalanText& textNode)
const;
428 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
441 const XalanQName& theQName,
448 const XalanQName& theQName,
479 enum eIndentType { eIndentNoImplicit, eIndentNoExplicit, eIndentYesImplicit, eIndentYesExplicit };
485 eIndentType m_indentResult;
541 XalanQNameVectorType m_cdataSectionElems;
543 bool m_hasCDATASectionElems;
549 URLStackType m_importStack;
573 bool m_needToBuildKeysTable;
578 bool m_outputEscapeURLs;
593 unsigned long m_elemNumberNextID;
598 AttributeSetMapType m_attributeSetsMap;
613 XALAN_CPP_NAMESPACE_END
617 #endif // XALAN_STYLESHEETROOT_HEADER_GUARD
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
Definition: XalanNode.hpp:44
AttributeSetVectorTypeDecl AttributeSetVectorType
Definition: StylesheetRoot.hpp:67
Definition: XalanText.hpp:38
XalanVector< ElemAttributeSet * > AttributeSetVectorTypeDecl
Definition: StylesheetRoot.hpp:50
Local implementation of MutableNodeRefList.
Definition: MutableNodeRefList.hpp:44
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
void setIndentResult(bool bIndent)
Change the value of the flag for indenting results.
Definition: StylesheetRoot.hpp:346
Definition: ElemTemplateElement.hpp:74
bool hasPreserveOrStripSpaceElements() const
Definition: StylesheetRoot.hpp:417
ElemTemplateElement * getDefaultRootRule() const
Get the template representing the default root rule.
Definition: StylesheetRoot.hpp:300
XalanDOMString & getOutputEncoding(XalanDOMString &theResult) const
Get the output encoding string that was specified in the xsl:output element.
Definition: StylesheetRoot.hpp:198
XalanDOMString & getOutputVersion(XalanDOMString &theResult) const
Get the output version string that was specified in the xsl:output element.
Definition: StylesheetRoot.hpp:157
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl...
Definition: StylesheetRoot.hpp:61
XalanDOMString & getOutputMediaType(XalanDOMString &theResult) const
Get the media-type string that was specified in the xsl:output element.
Definition: StylesheetRoot.hpp:212
Definition: StylesheetExecutionContext.hpp:104
bool getHTMLOutputIndent() const
Determine if output indenting should be enabled for HTML output.
Definition: StylesheetRoot.hpp:186
bool getOmitOutputXMLDecl() const
Determine whether to output XML declarations.
Definition: StylesheetRoot.hpp:253
bool getOutputIndent() const
Determine if output indenting was specified in the xsl:output element.
Definition: StylesheetRoot.hpp:171
XalanDOMString & getOutputStandalone(XalanDOMString &theResult) const
Get the standalone string that was specified in the xsl:output element.
Definition: StylesheetRoot.hpp:265
ElemTemplateElement * getDefaultRule() const
Get the template representing the default rule.
Definition: StylesheetRoot.hpp:289
bool hasCDATASectionElements() const
Definition: StylesheetRoot.hpp:364
MemoryManagerType & getMemoryManager()
Definition: StylesheetRoot.hpp:92
void setOutputMethod(FormatterListener::eFormat meth)
Change the value of the output method, one of the FormatterListener::eFormat values.
Definition: StylesheetRoot.hpp:358
XalanDOMString & assign(const XalanDOMChar *theSource)
Definition: XalanDOMString.hpp:364
XalanMap< const XalanQName *, AttributeSetVectorType > AttributeSetMapType
Definition: StylesheetRoot.hpp:70
XalanVector< const XalanQName * > XalanQNameVectorType
Definition: StylesheetRoot.hpp:65
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
XalanDOMString & getOutputDoctypeSystem(XalanDOMString &theResult) const
Get the doctype-system-id string that was specified in the xsl:output element.
Definition: StylesheetRoot.hpp:226
Definition: XSLTResultTarget.hpp:47
This class defines an interface for classes that resolve namespace prefixes to their URIs...
Definition: PrefixResolver.hpp:37
XalanDOMString & getOutputDoctypePublic(XalanDOMString &theResult) const
Get the doctype-public-id string that was specified in the xsl:output element.
Definition: StylesheetRoot.hpp:240
const XalanDOMString & getEncoding() const
Get the character encoding in use.
Definition: XSLTResultTarget.hpp:233
Definition: XalanDocument.hpp:51
Definition: ElemAttributeSet.hpp:35
#define XALAN_USES_MEMORY_MANAGER(Type)
Definition: XalanMemoryManagement.hpp:468
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
const URLStackType & getImportStack() const
Retrieve the stack of imported stylesheets.
Definition: StylesheetRoot.hpp:335
Definition: XalanDOMString.hpp:42
Definition: StylesheetConstructionContext.hpp:73
URLStackType & getImportStack()
Retrieve the stack of imported stylesheets.
Definition: StylesheetRoot.hpp:324
FormatterListener::eFormat getOutputMethod() const
Return the output method that was specified in the stylesheet.
Definition: StylesheetRoot.hpp:139
ElemTemplateElement * getDefaultTextRule() const
Get the template representing the default rule for text.
Definition: StylesheetRoot.hpp:278
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84
unsigned long getElemNumberCount() const
Definition: StylesheetRoot.hpp:411
Xalan implementation of a hashtable.
Definition: XalanMap.hpp:182
Class to represent a qualified name: "The name of an internal XSLT object, specifically a named templ...
Definition: XalanQName.hpp:68
Definition: XalanVector.hpp:61
bool isOutputMethodSet() const
Definition: StylesheetRoot.hpp:145
unsigned long getNextElemNumberID()
Definition: StylesheetRoot.hpp:405