com.sun.tools.ws.wsdl.parser
Class DOMBuilder
java.lang.Object
com.sun.xml.bind.marshaller.SAX2DOMEx
com.sun.tools.ws.wsdl.parser.DOMBuilder
- All Implemented Interfaces:
- ContentHandler
class DOMBuilder
- extends com.sun.xml.bind.marshaller.SAX2DOMEx
Builds DOM while keeping the location information.
This class also looks for outer most <jaxws:bindings>
customizations.
Methods inherited from class com.sun.xml.bind.marshaller.SAX2DOMEx |
characters, endDocument, endPrefixMapping, getCurrentElement, getDOM, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMBuilder
public DOMBuilder(Document dom,
com.sun.tools.xjc.reader.internalizer.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.
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Specified by:
setDocumentLocator
in interface ContentHandler
- Overrides:
setDocumentLocator
in class com.sun.xml.bind.marshaller.SAX2DOMEx
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class com.sun.xml.bind.marshaller.SAX2DOMEx
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class com.sun.xml.bind.marshaller.SAX2DOMEx