com.sun.tools.xjc.reader.internalizer
Class DOMBuilder
java.lang.Object
SAX2DOMEx
com.sun.tools.xjc.reader.internalizer.DOMBuilder
class DOMBuilder
- extends SAX2DOMEx
Builds DOM while keeping the location information.
This class also looks for outer most <jaxb:bindings>
customizations.
|
Constructor Summary |
DOMBuilder(org.w3c.dom.Document dom,
LocatorTable ltable,
java.util.Set outerMostBindings)
Grows a DOM tree under the given document, and
stores location information to the given table. |
|
Method Summary |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
|
void |
setDocumentLocator(org.xml.sax.Locator locator)
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMBuilder
public DOMBuilder(org.w3c.dom.Document dom,
LocatorTable ltable,
java.util.Set outerMostBindings)
- Grows a DOM tree under the given document, and
stores location information to the given table.
- Parameters:
outerMostBindings - This set will receive newly found outermost
jaxb:bindings customizations.
setDocumentLocator
public void setDocumentLocator(org.xml.sax.Locator locator)
startElement
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
endElement
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)