View source code Display the source code in std/xml.d from which this page was generated on github. Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

Class std.xml.Text

Class representing a text (aka Parsed Character Data) section

Inherits from

Constructors

Name Description
this Construct a text (aka PCData) section

Properties

Name Type Description
isEmptyXML [get] bool Returns true if the content is the empty string

Methods

Name Description
opCmp Compares two text sections
opEquals Compares two text sections for equality
toHash Returns the hash of a text section
toString Returns a string representation of this Text section
factory Create instance of class specified by the fully qualified name classname. The class must either have no constructors or have a default constructor.
pretty Returns an indented string representation of this item
toHash Compute hash function for Object.
toString Convert Object to a human readable string.

Authors

Janice Caron

License

Boost License 1.0.

Comments