|
|||||||||
| Home >> All >> org >> xots >> admin >> [ server overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.xots.admin.server
Class DOMParser

java.lang.Objectorg.xots.admin.server.DOMParser
- All Implemented Interfaces:
- DOMParserWrapper, org.xml.sax.ErrorHandler
- public class DOMParser
- extends java.lang.Object
- implements DOMParserWrapper, org.xml.sax.ErrorHandler
- extends java.lang.Object
Wraps the Xerces DOM parser and extends NonValidatingDOMParser
- Version:
- $id$
| Field Summary | |
(package private) org.apache.xerces.parsers.DOMParser |
parser
Parser. |
| Constructor Summary | |
DOMParser()
Default constructor. |
|
| Method Summary | |
void |
error(org.xml.sax.SAXParseException ex)
Error. |
void |
fatalError(org.xml.sax.SAXParseException ex)
Fatal error. |
private java.lang.String |
getLocationString(org.xml.sax.SAXParseException ex)
Returns a string of the location. |
org.w3c.dom.Document |
parse(java.lang.String uri)
Parses the specified URI and returns the document. |
void |
setFeature(java.lang.String featureId,
boolean state)
Set the state of a feature. |
void |
warning(org.xml.sax.SAXParseException ex)
Warning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
parser
org.apache.xerces.parsers.DOMParser parser
- Parser.
| Constructor Detail |
DOMParser
public DOMParser()
- Default constructor.
| Method Detail |
parse
public org.w3c.dom.Document parse(java.lang.String uri) throws java.lang.Exception
- Parses the specified URI and returns the document.
- Specified by:
parsein interfaceDOMParserWrapper
setFeature
public void setFeature(java.lang.String featureId, boolean state) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Description copied from interface:
DOMParserWrapper - Set the state of a feature.
Set the state of any feature in a SAX2 parser. The parser
might not recognize the feature, and if it does recognize
it, it might not be able to fulfill the request.
- Specified by:
setFeaturein interfaceDOMParserWrapper
warning
public void warning(org.xml.sax.SAXParseException ex)
- Warning.
- Specified by:
warningin interfaceorg.xml.sax.ErrorHandler
error
public void error(org.xml.sax.SAXParseException ex)
- Error.
- Specified by:
errorin interfaceorg.xml.sax.ErrorHandler
fatalError
public void fatalError(org.xml.sax.SAXParseException ex) throws org.xml.sax.SAXException
- Fatal error.
- Specified by:
fatalErrorin interfaceorg.xml.sax.ErrorHandler
getLocationString
private java.lang.String getLocationString(org.xml.sax.SAXParseException ex)
- Returns a string of the location.
|
|||||||||
| Home >> All >> org >> xots >> admin >> [ server overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.xots.admin.server.DOMParser