| java.lang.Object com.sun.xml.dtdparser.DTDHandlerBase com.sun.tools.xjc.reader.dtd.TDTDReader
Method Summary | |
public void | attributeDecl(String elementName, String attributeName, String attributeType, String[] enumeration, short attributeUse, String defaultValue) | public void | childElement(String elementName, short occurence) | public void | connector(short connectorType) | protected CPropertyInfo | createAttribute(String elementName, String attributeName, String attributeType, String[] enums, short attributeUse, String defaultValue) | public void | endContentModel(String elementName, short contentModelType) | public void | endDTD() | public void | endModelGroup(short occurence) | public void | error(SAXParseException e) | final protected void | error(Locator loc, String prop, Object... args) | public void | fatalError(SAXParseException e) | Element | getOrCreateElement(String elementName) | JPackage | getTargetPackage() | public static Model | parse(InputSource dtd, InputSource bindingInfo, ErrorReceiver errorReceiver, Options opts) Parses DTD grammar and a binding information into BGM.
This method is just a utility method that covers 80% of the use
cases.
Parameters: bindingInfo - binding information file, if any. | public void | setDocumentLocator(Locator loc) | public void | startContentModel(String elementName, short contentModelType) | public void | startDTD(InputEntity entity) | public void | startModelGroup() | public void | warning(SAXParseException e) |
bindInfo | final BindInfo bindInfo(Code) | | binding information.
This is always non-null even if no binding information was specified.
(In that case, a dummy object will be provided.)
|
parse | public static Model parse(InputSource dtd, InputSource bindingInfo, ErrorReceiver errorReceiver, Options opts)(Code) | | Parses DTD grammar and a binding information into BGM.
This method is just a utility method that covers 80% of the use
cases.
Parameters: bindingInfo - binding information file, if any. Can be null. |
setDocumentLocator | public void setDocumentLocator(Locator loc)(Code) | | |
Methods inherited from com.sun.xml.dtdparser.DTDHandlerBase | public void attributeDecl(String elementName, String attributeName, String attributeType, String[] enumeration, short attributeUse, String defaultValue) throws SAXException(Code)(Java Doc) public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void childElement(String elementName, short occurence) throws SAXException(Code)(Java Doc) public void comment(String n) throws SAXException(Code)(Java Doc) public void connector(short connectorType) throws SAXException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endContentModel(String elementName, short contentModelType) throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endModelGroup(short occurence) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void externalGeneralEntityDecl(String n, String p, String s) throws SAXException(Code)(Java Doc) public void externalParameterEntityDecl(String n, String p, String s) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void internalGeneralEntityDecl(String n, String v) throws SAXException(Code)(Java Doc) public void internalParameterEntityDecl(String n, String v) throws SAXException(Code)(Java Doc) public void mixedElement(String elementName) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public void setDocumentLocator(Locator loc)(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startContentModel(String elementName, short contentModelType) throws SAXException(Code)(Java Doc) public void startDTD(InputEntity in) throws SAXException(Code)(Java Doc) public void startModelGroup() throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException err) throws SAXException(Code)(Java Doc)
|
|
|