com.sun.tools.xjc.reader.internalizer

Class 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(Document dom, LocatorTable ltable, Set outerMostBindings)
Grows a DOM tree under the given document, and stores location information to the given table.
Method Summary
voidendElement(String namespaceURI, String localName, String qName)
voidsetDocumentLocator(Locator locator)
voidstartElement(String namespaceURI, String localName, String qName, Attributes atts)

Constructor Detail

DOMBuilder

public DOMBuilder(Document dom, LocatorTable ltable, 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.

Method Detail

endElement

public void endElement(String namespaceURI, String localName, String qName)

setDocumentLocator

public void setDocumentLocator(Locator locator)

startElement

public void startElement(String namespaceURI, String localName, String qName, Attributes atts)