com.sun.enterprise.admin.servermgmt.util
Class DomainXmlSAXParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.sun.enterprise.admin.servermgmt.util.DomainXmlSAXParser
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class DomainXmlSAXParser
- extends DefaultHandler
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainXmlSAXParser
public DomainXmlSAXParser()
getDomainXmlEventListenerClass
public String getDomainXmlEventListenerClass()
parse
public void parse(File domainXml,
File dtd)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes attrs)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
- Throws:
SAXException
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException
- Specified by:
resolveEntity in interface EntityResolver- Overrides:
resolveEntity in class DefaultHandler
- Throws:
SAXException
Copyright © 2012 GlassFish Community. All Rights Reserved.