Interface XMLParser
- All Known Implementing Classes:
JAXPParser
,XDKParser
public interface XMLParser
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
parse
(InputStream inputStream) parse
(InputSource inputSource) void
setEntityResolver
(EntityResolver entityResolver) void
setErrorHandler
(ErrorHandler errorHandler) void
setNamespaceAware
(boolean isNamespaceAware) void
setValidationMode
(int validationMode) void
setWhitespacePreserving
(boolean isWhitespacePreserving) void
setXMLSchema
(URL url) void
setXMLSchema
(Schema schema) void
setXMLSchemas
(Object[] schemas)
-
Field Details
-
NONVALIDATING
static final int NONVALIDATING- See Also:
-
DTD_VALIDATION
static final int DTD_VALIDATION- See Also:
-
SCHEMA_VALIDATION
static final int SCHEMA_VALIDATION- See Also:
-
-
Method Details
-
setNamespaceAware
void setNamespaceAware(boolean isNamespaceAware) -
setWhitespacePreserving
void setWhitespacePreserving(boolean isWhitespacePreserving) -
getValidationMode
int getValidationMode() -
setValidationMode
void setValidationMode(int validationMode) -
getEntityResolver
EntityResolver getEntityResolver() -
setEntityResolver
-
getErrorHandler
ErrorHandler getErrorHandler() -
setErrorHandler
-
setXMLSchema
- Throws:
XMLPlatformException
-
setXMLSchemas
- Throws:
XMLPlatformException
-
setXMLSchema
- Throws:
XMLPlatformException
-
getXMLSchema
- Throws:
XMLPlatformException
-
parse
- Throws:
XMLPlatformException
-
parse
- Throws:
XMLPlatformException
-
parse
- Throws:
XMLPlatformException
-
parse
- Throws:
XMLPlatformException
-
parse
- Throws:
XMLPlatformException
-
parse
- Throws:
XMLPlatformException
-