public class XMLMaker extends Object implements IDOMVisitor
| Modifier and Type | Field and Description |
|---|---|
protected StringBuffer |
buffer_ |
protected boolean |
dom2_ |
protected boolean |
emptyElementTag_ |
protected String |
encoding_ |
protected boolean |
expandEntityReference_ |
| Constructor and Description |
|---|
XMLMaker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enter(Attr attr) |
boolean |
enter(CDATASection cdata) |
boolean |
enter(Comment comment) |
boolean |
enter(Document doc) |
boolean |
enter(DocumentFragment docfrag) |
boolean |
enter(DocumentType doctype) |
boolean |
enter(Element element) |
boolean |
enter(Entity entity) |
boolean |
enter(EntityReference entityRef) |
boolean |
enter(Node node) |
boolean |
enter(Notation notation) |
boolean |
enter(ProcessingInstruction pi) |
boolean |
enter(Text text) |
String |
getText() |
boolean |
isParsedEntity(EntityReference entityRef) |
void |
leave(Attr attr) |
void |
leave(CDATASection cdata) |
void |
leave(Comment comment) |
void |
leave(Document doc) |
void |
leave(DocumentFragment docfrag) |
void |
leave(DocumentType doctype) |
void |
leave(Element element) |
void |
leave(Entity entity) |
void |
leave(EntityReference entityRef) |
void |
leave(Node node) |
void |
leave(Notation notation) |
void |
leave(ProcessingInstruction pi) |
void |
leave(Text text) |
void |
setDOM2(boolean dom2) |
void |
setEmptyElementTag(boolean empty) |
void |
setEncoding(String encoding) |
void |
setExpandEntityReference(boolean expand) |
protected StringBuffer buffer_
protected String encoding_
protected boolean dom2_
protected boolean expandEntityReference_
protected boolean emptyElementTag_
public void setEncoding(String encoding)
public void setDOM2(boolean dom2)
public void setExpandEntityReference(boolean expand)
public void setEmptyElementTag(boolean empty)
public String getText()
public boolean enter(Element element)
enter in interface IDOMVisitorpublic void leave(Element element)
leave in interface IDOMVisitorpublic boolean enter(Attr attr)
enter in interface IDOMVisitorpublic void leave(Attr attr)
leave in interface IDOMVisitorpublic boolean enter(Text text)
enter in interface IDOMVisitorpublic void leave(Text text)
leave in interface IDOMVisitorpublic boolean enter(CDATASection cdata)
enter in interface IDOMVisitorpublic void leave(CDATASection cdata)
leave in interface IDOMVisitorpublic boolean enter(EntityReference entityRef)
enter in interface IDOMVisitorpublic void leave(EntityReference entityRef)
leave in interface IDOMVisitorpublic boolean enter(Entity entity)
enter in interface IDOMVisitorpublic void leave(Entity entity)
leave in interface IDOMVisitorpublic boolean enter(ProcessingInstruction pi)
enter in interface IDOMVisitorpublic void leave(ProcessingInstruction pi)
leave in interface IDOMVisitorpublic boolean enter(Comment comment)
enter in interface IDOMVisitorpublic void leave(Comment comment)
leave in interface IDOMVisitorpublic boolean enter(Document doc)
enter in interface IDOMVisitorpublic void leave(Document doc)
leave in interface IDOMVisitorpublic boolean enter(DocumentType doctype)
enter in interface IDOMVisitorpublic void leave(DocumentType doctype)
leave in interface IDOMVisitorpublic boolean enter(DocumentFragment docfrag)
enter in interface IDOMVisitorpublic void leave(DocumentFragment docfrag)
leave in interface IDOMVisitorpublic boolean enter(Notation notation)
enter in interface IDOMVisitorpublic void leave(Notation notation)
leave in interface IDOMVisitorpublic boolean enter(Node node)
enter in interface IDOMVisitorpublic void leave(Node node)
leave in interface IDOMVisitorpublic boolean isParsedEntity(EntityReference entityRef)