class DOMBuilder extends com.sun.xml.bind.marshaller.SAX2DOMEx implements LexicalHandler
This class also looks for outer most <jaxws:bindings> customizations.
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
comment(char[] ch,
int start,
int length) |
void |
endCDATA() |
void |
endDTD() |
void |
endElement(String namespaceURI,
String localName,
String qName) |
void |
endEntity(String name) |
void |
setDocumentLocator(Locator locator) |
void |
startCDATA() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
void |
startEntity(String name) |
public DOMBuilder(Document dom, com.sun.tools.xjc.reader.internalizer.LocatorTable ltable, Set outerMostBindings)
outerMostBindings
- This set will receive newly found outermost
jaxb:bindings customizations.public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class com.sun.xml.bind.marshaller.SAX2DOMEx
public void startElement(String namespaceURI, String localName, String qName, Attributes atts)
startElement
in interface ContentHandler
startElement
in class com.sun.xml.bind.marshaller.SAX2DOMEx
public void endElement(String namespaceURI, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class com.sun.xml.bind.marshaller.SAX2DOMEx
public void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD
in interface LexicalHandler
SAXException
public void endDTD() throws SAXException
endDTD
in interface LexicalHandler
SAXException
public void startEntity(String name) throws SAXException
startEntity
in interface LexicalHandler
SAXException
public void endEntity(String name) throws SAXException
endEntity
in interface LexicalHandler
SAXException
public void startCDATA() throws SAXException
startCDATA
in interface LexicalHandler
SAXException
public void endCDATA() throws SAXException
endCDATA
in interface LexicalHandler
SAXException
public void comment(char[] ch, int start, int length) throws SAXException
comment
in interface LexicalHandler
SAXException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.