Xalan-C++ API Reference 1.12.0
Public Member Functions | List of all members
xalanc::XalanSourceTreeTextIWS Class Reference

#include <xalanc/XalanSourceTree/XalanSourceTreeTextIWS.hpp>

Inheritance diagram for xalanc::XalanSourceTreeTextIWS:
xalanc::XalanSourceTreeText xalanc::XalanText xalanc::XalanCharacterData xalanc::XalanNode

Public Member Functions

 XalanSourceTreeTextIWS (const XalanDOMString &theData, XalanNode *theParentNode=0, XalanNode *thePreviousSibling=0, XalanNode *theNextSibling=0, IndexType theIndex=0)
 Constructor.
 
virtual ~XalanSourceTreeTextIWS ()
 
virtual bool isWhitespace () const
 Determine whether the text node instance is composed entirely of XML whitespace.
 
- Public Member Functions inherited from xalanc::XalanSourceTreeText
 XalanSourceTreeText (const XalanDOMString &theData, XalanNode *theParentNode=0, XalanNode *thePreviousSibling=0, XalanNode *theNextSibling=0, IndexType theIndex=0)
 Constructor.
 
virtual ~XalanSourceTreeText ()
 
virtual const XalanDOMString & getNodeName () const
 Gets the name of this node, depending on its type.
 
virtual const XalanDOMString & getNodeValue () const
 Gets the value of this node, depending on its type.
 
virtual NodeType getNodeType () const
 An enum value representing the type of the underlying object.
 
virtual XalanNode * getParentNode () const
 Gets the parent of this node.
 
virtual const XalanNodeList * getChildNodes () const
 Gets a NodeList that contains all children of this node.
 
virtual XalanNode * getFirstChild () const
 Gets the first child of this node.
 
virtual XalanNode * getLastChild () const
 Gets the last child of this node.
 
virtual XalanNode * getPreviousSibling () const
 Gets the node immediately preceding this node.
 
virtual XalanNode * getNextSibling () const
 Gets the node immediately following this node.
 
virtual const XalanNamedNodeMap * getAttributes () const
 Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
 
virtual XalanDocument * getOwnerDocument () const
 Gets the Document object associated with this node.
 
virtual const XalanDOMString & getNamespaceURI () const
 Get the namespace URI of this node, or null if it is unspecified.
 
virtual const XalanDOMString & getPrefix () const
 Get the namespace prefix of this node, or null if it is unspecified.
 
virtual const XalanDOMString & getLocalName () const
 Returns the local part of the qualified name of this node.
 
virtual bool isIndexed () const
 Determine if the document is node-order indexed.
 
virtual IndexType getIndex () const
 Get the node's index.
 
virtual const XalanDOMString & getData () const
 Returns the character data of the node that implements this interface.
 
void setParent (XalanSourceTreeElement *theParent)
 
void setParent (XalanSourceTreeDocumentFragment *theParent)
 
void setPreviousSibling (XalanSourceTreeComment *thePreviousSibling)
 
void setPreviousSibling (XalanSourceTreeElement *thePreviousSibling)
 
void setPreviousSibling (XalanSourceTreeProcessingInstruction *thePreviousSibling)
 
void setPreviousSibling (XalanSourceTreeText *thePreviousSibling)
 
void appendSiblingNode (XalanSourceTreeComment *theSibling)
 
void appendSiblingNode (XalanSourceTreeElement *theSibling)
 
void appendSiblingNode (XalanSourceTreeProcessingInstruction *theSibling)
 
void appendSiblingNode (XalanSourceTreeText *theSibling)
 
void setIndex (IndexType theIndex)
 
- Public Member Functions inherited from xalanc::XalanText
 XalanText ()
 
virtual ~XalanText ()
 
- Public Member Functions inherited from xalanc::XalanCharacterData
 XalanCharacterData ()
 
virtual ~XalanCharacterData ()
 
- Public Member Functions inherited from xalanc::XalanNode
 XalanNode ()
 
virtual ~XalanNode ()
 

Additional Inherited Members

- Public Types inherited from xalanc::XalanNode
enum  NodeType {
  UNKNOWN_NODE = 0 , ELEMENT_NODE = 1 , ATTRIBUTE_NODE = 2 , TEXT_NODE = 3 ,
  CDATA_SECTION_NODE = 4 , ENTITY_REFERENCE_NODE = 5 , ENTITY_NODE = 6 , PROCESSING_INSTRUCTION_NODE = 7 ,
  COMMENT_NODE = 8 , DOCUMENT_NODE = 9 , DOCUMENT_TYPE_NODE = 10 , DOCUMENT_FRAGMENT_NODE = 11 ,
  NOTATION_NODE = 12
}
 
typedef unsigned long IndexType
 
- Static Public Member Functions inherited from xalanc::XalanSourceTreeText
static void initialize (MemoryManager &theManager)
 Perform static initialization.
 
static void terminate ()
 Perform static shut down.
 
- Protected Member Functions inherited from xalanc::XalanText
 XalanText (const XalanText &theSource)
 
XalanText & operator= (const XalanText &theSource)
 
bool operator== (const XalanText &theRHS) const
 
- Protected Member Functions inherited from xalanc::XalanCharacterData
 XalanCharacterData (const XalanCharacterData &theSource)
 
XalanCharacterData & operator= (const XalanCharacterData &theSource)
 
bool operator== (const XalanCharacterData &theRHS) const
 
- Protected Member Functions inherited from xalanc::XalanNode
 XalanNode (const XalanNode &theSource)
 
XalanNode & operator= (const XalanNode &theSource)
 
bool operator== (const XalanNode &theRHS) const
 

Detailed Description

Definition at line 35 of file XalanSourceTreeTextIWS.hpp.

Constructor & Destructor Documentation

◆ XalanSourceTreeTextIWS()

xalanc::XalanSourceTreeTextIWS::XalanSourceTreeTextIWS ( const XalanDOMString &  theData,
XalanNode *  theParentNode = 0,
XalanNode *  thePreviousSibling = 0,
XalanNode *  theNextSibling = 0,
IndexType  theIndex = 0 
)

Constructor.

Parameters
theDataThe text data of the node
theParentNodeThe parent node, if any.
thePreviousSiblingThe previous sibling, if any.
theNextSiblingThe next sibling, if any.
theIndexThe document-order index of the node.

◆ ~XalanSourceTreeTextIWS()

virtual xalanc::XalanSourceTreeTextIWS::~XalanSourceTreeTextIWS ( )
virtual

Member Function Documentation

◆ isWhitespace()

virtual bool xalanc::XalanSourceTreeTextIWS::isWhitespace ( ) const
virtual

Determine whether the text node instance is composed entirely of XML whitespace.

Returns
true if the node is all XML whitespace, false if not

Reimplemented from xalanc::XalanSourceTreeText.

References xalanc::operator==().


The documentation for this class was generated from the following file: