public interface IDOMFactory
SAXBuilder
Modifier and Type | Method and Description |
---|---|
Attribute |
newAttribute(Namespace ns,
java.lang.String lname,
java.lang.String value)
Creates an Attribute with namespace.
|
Attribute |
newAttribute(java.lang.String lname,
java.lang.String value)
Creates an Attribute without namespace.
|
CData |
newCData(java.lang.String text)
Creates a CData.
|
Comment |
newComment(java.lang.String text)
Creates a Comment.
|
DocType |
newDocType(java.lang.String elementName,
java.lang.String publicId,
java.lang.String systemId)
Creates a DocType.
|
Document |
newDocument(Element rootElement,
DocType docType)
Creates a Document.
|
Element |
newElement(Namespace ns,
java.lang.String lname)
Creates an Element with a namespace.
|
Element |
newElement(java.lang.String lname)
Creates an Element without namespace.
|
EntityReference |
newEntityRef(java.lang.String name)
Creates an EntityReference.
|
ProcessingInstruction |
newProcessingInstruction(java.lang.String target,
java.lang.String data)
Creates a processing instruction.
|
Text |
newText(java.lang.String text)
Creates a Text.
|
Attribute newAttribute(java.lang.String lname, java.lang.String value)
Attribute newAttribute(Namespace ns, java.lang.String lname, java.lang.String value)
CData newCData(java.lang.String text)
Comment newComment(java.lang.String text)
DocType newDocType(java.lang.String elementName, java.lang.String publicId, java.lang.String systemId)
elementName
- the root element's namepublicId
- the public Id; null for emptysystemId
- the system Id; null for emptyDocument newDocument(Element rootElement, DocType docType)
docType
- the document type; null for not availableElement newElement(Namespace ns, java.lang.String lname)
Element newElement(java.lang.String lname)
ProcessingInstruction newProcessingInstruction(java.lang.String target, java.lang.String data)
data
- the raw data; null for emptyEntityReference newEntityRef(java.lang.String name)
name
- the entity reference's nameText newText(java.lang.String text)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.