|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jaxme.util.DOMBuilder
Converts a stream of SAX events into a DOM node.
| Constructor Summary | |
DOMBuilder()
|
|
| Method Summary | |
void |
characters(char[] ch,
int start,
int length)
|
void |
endDocument()
|
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
|
void |
endPrefixMapping(java.lang.String prefix)
|
Document |
getDocument()
Returns the document being used as object factory. |
Locator |
getDocumentLocator()
Returns the Locator. |
Node |
getTarget()
Returns the target node. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
processingInstruction(java.lang.String pTarget,
java.lang.String pData)
|
void |
setDocument(Document pDocument)
Sets the document being used as object factory. |
void |
setDocumentLocator(Locator pLocator)
Sets the Locator. |
void |
setTarget(Node pNode)
Sets the target node. |
void |
skippedEntity(java.lang.String pName)
|
void |
startDocument()
|
void |
startElement(java.lang.String pNamespaceURI,
java.lang.String pLocalName,
java.lang.String pQName,
Attributes pAttr)
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DOMBuilder()
| Method Detail |
public void setDocument(Document pDocument)
Sets the document being used as object factory.
public Document getDocument()
Returns the document being used as object factory.
public void setDocumentLocator(Locator pLocator)
Sets the Locator.
setDocumentLocator in interface ContentHandlerpublic Locator getDocumentLocator()
Returns the Locator.
public void setTarget(Node pNode)
Sets the target node. The document is built as a fragment in the target node.
public Node getTarget()
Returns the target node. The document is built as a fragment in the target node.
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionContentHandler.startDocument()
public void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionContentHandler.endDocument()
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
throws SAXException
startPrefixMapping in interface ContentHandlerSAXException
public void endPrefixMapping(java.lang.String prefix)
throws SAXException
endPrefixMapping in interface ContentHandlerSAXException
public void startElement(java.lang.String pNamespaceURI,
java.lang.String pLocalName,
java.lang.String pQName,
Attributes pAttr)
throws SAXException
startElement in interface ContentHandlerSAXException
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
throws SAXException
endElement in interface ContentHandlerSAXException
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlerSAXException
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXException
public void processingInstruction(java.lang.String pTarget,
java.lang.String pData)
throws SAXException
processingInstruction in interface ContentHandlerSAXException
public void skippedEntity(java.lang.String pName)
throws SAXException
skippedEntity in interface ContentHandlerSAXException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||