|
|||||||||
| Home >> All >> org >> jdaemon >> [ six overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdaemon.six
Class DOMBuilder

java.lang.Objectorg.jdaemon.six.DOMBuilder
- All Implemented Interfaces:
- Builder
- public class DOMBuilder
- extends java.lang.Object
- implements Builder
- extends java.lang.Object
| Field Summary | |
private org.w3c.dom.Node |
current
Current node in document being built |
private org.w3c.dom.Document |
document
Documenet being built |
| Constructor Summary | |
DOMBuilder(javax.xml.parsers.DocumentBuilder document_builder)
Creates a new instance of DOMBuilder. |
|
| Method Summary | |
void |
endElement(java.lang.String type)
End a document element; subsequent elements will be children of this element's parent |
org.w3c.dom.Document |
getDocument()
get the generated Document |
void |
startElement(java.lang.String type,
org.jdaemon.util.AttributeList attributes)
Begin a document element; subsequent elements will be children of this element |
void |
writeObject(java.lang.Object content)
Add content to a document element |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
document
private org.w3c.dom.Document document
- Documenet being built
current
private org.w3c.dom.Node current
- Current node in document being built
| Constructor Detail |
DOMBuilder
public DOMBuilder(javax.xml.parsers.DocumentBuilder document_builder)
- Creates a new instance of DOMBuilder.
| Method Detail |
endElement
public void endElement(java.lang.String type)
- End a document element; subsequent elements will be children of this element's parent
- Specified by:
endElementin interfaceBuilder
startElement
public void startElement(java.lang.String type, org.jdaemon.util.AttributeList attributes)
- Begin a document element; subsequent elements will be children of this element
- Specified by:
startElementin interfaceBuilder
writeObject
public void writeObject(java.lang.Object content)
- Add content to a document element
- Specified by:
writeObjectin interfaceBuilder
getDocument
public org.w3c.dom.Document getDocument()
- get the generated Document
|
|||||||||
| Home >> All >> org >> jdaemon >> [ six overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jdaemon.six.DOMBuilder