Package de.pdark.decentxml
Interface Node
- All Known Implementing Classes:
Attribute,BasicNode,Comment,DocType,DocTypeAttributeList,DocTypeElement,DocTypeEntity,DocTypeNotation,DocTypeText,Document,Element,Entity,NodeWithChildren,ProcessingInstruction,Text,XMLDeclaration
public interface Node
Common interface for all nodes in an XML document.
- See Also:
-
Method Details
-
toXML
String toXML()Slow way to convert a node to XML -
toXML
Fast way to convert many nodes to XML- Throws:
IOException
-
getType
XMLTokenizer.Type getType()Get the node type -
copy
Copy all data fromorigintothis -
createClone
Node createClone()Simulate clone() -
copy
Node copy()Simulate clone()
-