Attribute
, BasicNode
, Comment
, DocType
, DocTypeAttributeList
, DocTypeElement
, DocTypeEntity
, DocTypeNotation
, DocTypeText
, Document
, Element
, Entity
, NodeWithChildren
, ProcessingInstruction
, Text
, XMLDeclaration
public interface Node
Document
Modifier and Type | Method | Description |
---|---|---|
Node |
copy() |
Simulate clone()
|
Node |
copy(Node orig) |
Copy all data from
orig into this |
Node |
createClone() |
Simulate clone()
|
XMLTokenizer.Type |
getType() |
Get the node type
|
String |
toXML() |
Slow way to convert a node to XML
|
Node |
toXML(XMLWriter writer) |
Fast way to convert many nodes to XML
|
String toXML()
Node toXML(XMLWriter writer) throws IOException
IOException
XMLTokenizer.Type getType()
Node createClone()
Node copy()
Copyright © 2008–2019. All rights reserved.