public interface XMLParser
| Modifier and Type | Field and Description |
|---|---|
static int |
DTD_VALIDATION |
static int |
NONVALIDATING |
static int |
SCHEMA_VALIDATION |
| Modifier and Type | Method and Description |
|---|---|
EntityResolver |
getEntityResolver() |
ErrorHandler |
getErrorHandler() |
int |
getValidationMode() |
Schema |
getXMLSchema() |
Document |
parse(File file) |
Document |
parse(InputSource inputSource) |
Document |
parse(InputStream inputStream) |
Document |
parse(Reader reader) |
Document |
parse(Source source) |
Document |
parse(URL url) |
void |
setEntityResolver(EntityResolver entityResolver) |
void |
setErrorHandler(ErrorHandler errorHandler) |
void |
setNamespaceAware(boolean isNamespaceAware) |
void |
setValidationMode(int validationMode) |
void |
setWhitespacePreserving(boolean isWhitespacePreserving) |
void |
setXMLSchema(Schema schema) |
void |
setXMLSchema(URL url) |
void |
setXMLSchemas(Object[] schemas) |
static final int NONVALIDATING
static final int DTD_VALIDATION
static final int SCHEMA_VALIDATION
void setNamespaceAware(boolean isNamespaceAware)
void setWhitespacePreserving(boolean isWhitespacePreserving)
int getValidationMode()
void setValidationMode(int validationMode)
EntityResolver getEntityResolver()
void setEntityResolver(EntityResolver entityResolver)
ErrorHandler getErrorHandler()
void setErrorHandler(ErrorHandler errorHandler)
void setXMLSchema(URL url) throws XMLPlatformException
XMLPlatformExceptionvoid setXMLSchemas(Object[] schemas) throws XMLPlatformException
XMLPlatformExceptionvoid setXMLSchema(Schema schema) throws XMLPlatformException
XMLPlatformExceptionSchema getXMLSchema() throws XMLPlatformException
XMLPlatformExceptionDocument parse(InputSource inputSource) throws XMLPlatformException
XMLPlatformExceptionDocument parse(File file) throws XMLPlatformException
XMLPlatformExceptionDocument parse(InputStream inputStream) throws XMLPlatformException
XMLPlatformExceptionDocument parse(Reader reader) throws XMLPlatformException
XMLPlatformExceptionDocument parse(Source source) throws XMLPlatformException
XMLPlatformExceptionDocument parse(URL url) throws XMLPlatformException
XMLPlatformExceptionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.