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 cdatasection) |
boolean |
enter(Comment comment) |
boolean |
enter(Document document) |
boolean |
enter(DocumentFragment documentfragment) |
boolean |
enter(DocumentType documenttype) |
boolean |
enter(Element element) |
boolean |
enter(Entity entity) |
boolean |
enter(EntityReference entityreference) |
boolean |
enter(Node node) |
boolean |
enter(Notation notation) |
boolean |
enter(ProcessingInstruction processinginstruction) |
boolean |
enter(Text text) |
String |
getText() |
boolean |
isParsedEntity(EntityReference entityreference) |
void |
leave(Attr attr) |
void |
leave(CDATASection cdatasection) |
void |
leave(Comment comment) |
void |
leave(Document document) |
void |
leave(DocumentFragment documentfragment) |
void |
leave(DocumentType documenttype) |
void |
leave(Element element) |
void |
leave(Entity entity) |
void |
leave(EntityReference entityreference) |
void |
leave(Node node) |
void |
leave(Notation notation) |
void |
leave(ProcessingInstruction processinginstruction) |
void |
leave(Text text) |
void |
setDOM2(boolean flag) |
void |
setEmptyElementTag(boolean flag) |
void |
setEncoding(String s) |
void |
setExpandEntityReference(boolean flag) |
protected StringBuffer buffer_
protected String encoding_
protected boolean dom2_
protected boolean expandEntityReference_
protected boolean emptyElementTag_
public void setEncoding(String s)
public void setDOM2(boolean flag)
public void setExpandEntityReference(boolean flag)
public void setEmptyElementTag(boolean flag)
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 cdatasection)
enter in interface IDOMVisitorpublic void leave(CDATASection cdatasection)
leave in interface IDOMVisitorpublic boolean enter(EntityReference entityreference)
enter in interface IDOMVisitorpublic void leave(EntityReference entityreference)
leave in interface IDOMVisitorpublic boolean enter(Entity entity)
enter in interface IDOMVisitorpublic void leave(Entity entity)
leave in interface IDOMVisitorpublic boolean enter(ProcessingInstruction processinginstruction)
enter in interface IDOMVisitorpublic void leave(ProcessingInstruction processinginstruction)
leave in interface IDOMVisitorpublic boolean enter(Comment comment)
enter in interface IDOMVisitorpublic void leave(Comment comment)
leave in interface IDOMVisitorpublic boolean enter(Document document)
enter in interface IDOMVisitorpublic void leave(Document document)
leave in interface IDOMVisitorpublic boolean enter(DocumentType documenttype)
enter in interface IDOMVisitorpublic void leave(DocumentType documenttype)
leave in interface IDOMVisitorpublic boolean enter(DocumentFragment documentfragment)
enter in interface IDOMVisitorpublic void leave(DocumentFragment documentfragment)
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 entityreference)
Copyright © 2017 Oracle Corporation. All rights reserved.