com.opensymphony.xwork.util
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
|---|---|
protected SAXTransformerFactory |
factory
The transformer factory |
protected static SAXTransformerFactory |
FACTORY
The default transformer factory shared by all instances |
protected ContentHandler |
nextHandler
|
protected Node |
parentNode
The parentNode |
protected DOMResult |
result
The result |
| Constructor Summary | |
|---|---|
DomHelper.DOMBuilder()
Construct a new instance of this DOMBuilder. |
|
DomHelper.DOMBuilder(Node parentNode)
Constructs a new instance that appends nodes to the given parent node. |
|
DomHelper.DOMBuilder(SAXTransformerFactory factory)
Construct a new instance of this DOMBuilder. |
|
DomHelper.DOMBuilder(SAXTransformerFactory factory,
Node parentNode)
Construct a new instance of this DOMBuilder. |
|
| Method Summary | |
|---|---|
void |
characters(char[] arg0,
int arg1,
int arg2)
|
void |
endDocument()
|
void |
endElement(String arg0,
String arg1,
String arg2)
|
void |
endPrefixMapping(String arg0)
|
Document |
getDocument()
Return the newly built Document. |
void |
ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
|
void |
processingInstruction(String arg0,
String arg1)
|
void |
setDocumentLocator(Locator locator)
|
void |
skippedEntity(String arg0)
|
void |
startDocument()
|
void |
startElement(String uri,
String loc,
String raw,
Attributes attrs)
|
void |
startPrefixMapping(String arg0,
String arg1)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static SAXTransformerFactory FACTORY
protected SAXTransformerFactory factory
protected DOMResult result
protected Node parentNode
protected ContentHandler nextHandler
| Constructor Detail |
|---|
public DomHelper.DOMBuilder()
public DomHelper.DOMBuilder(SAXTransformerFactory factory)
public DomHelper.DOMBuilder(Node parentNode)
public DomHelper.DOMBuilder(SAXTransformerFactory factory, Node parentNode)
| Method Detail |
|---|
public Document getDocument()
public void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandler
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXException
public void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void startElement(String uri, String loc, String raw, Attributes attrs) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic void endElement(String arg0, String arg1, String arg2) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic void startPrefixMapping(String arg0, String arg1) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String arg0) throws SAXException
endPrefixMapping in interface ContentHandlerSAXException
public void characters(char[] arg0,
int arg1,
int arg2)
throws SAXException
characters in interface ContentHandlerSAXException
public void ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void processingInstruction(String arg0, String arg1) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void skippedEntity(String arg0) throws SAXException
skippedEntity in interface ContentHandlerSAXException
|
WebWork Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||