Module org.eclipse.persistence.core
Interface XMLParser
- All Known Implementing Classes:
JAXPParser,XDKParser
public interface XMLParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionintparse(InputStream inputStream) parse(InputSource inputSource) voidsetEntityResolver(EntityResolver entityResolver) voidsetErrorHandler(ErrorHandler errorHandler) voidsetNamespaceAware(boolean isNamespaceAware) voidsetValidationMode(int validationMode) voidsetWhitespacePreserving(boolean isWhitespacePreserving) voidsetXMLSchema(URL url) voidsetXMLSchema(Schema schema) voidsetXMLSchemas(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
-