EclipseLink 1.1.4, build 'v20100812-r7860' API Reference

org.eclipse.persistence.platform.xml
Interface XMLParser

All Known Implementing Classes:
JAXPParser

public interface XMLParser


Field Summary
static int DTD_VALIDATION
           
static int NONVALIDATING
           
static int SCHEMA_VALIDATION
           
 
Method Summary
 org.xml.sax.EntityResolver getEntityResolver()
           
 org.xml.sax.ErrorHandler getErrorHandler()
           
 int getValidationMode()
           
 javax.xml.validation.Schema getXMLSchema()
           
 org.w3c.dom.Document parse(java.io.File file)
           
 org.w3c.dom.Document parse(org.xml.sax.InputSource inputSource)
           
 org.w3c.dom.Document parse(java.io.InputStream inputStream)
           
 org.w3c.dom.Document parse(java.io.Reader reader)
           
 org.w3c.dom.Document parse(javax.xml.transform.Source source)
           
 org.w3c.dom.Document parse(java.net.URL url)
           
 void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
           
 void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
           
 void setNamespaceAware(boolean isNamespaceAware)
           
 void setValidationMode(int validationMode)
           
 void setWhitespacePreserving(boolean isWhitespacePreserving)
           
 void setXMLSchema(javax.xml.validation.Schema schema)
           
 void setXMLSchema(java.net.URL url)
           
 void setXMLSchemas(java.lang.Object[] schemas)
           
 

Field Detail

NONVALIDATING

static final int NONVALIDATING
See Also:
Constant Field Values

DTD_VALIDATION

static final int DTD_VALIDATION
See Also:
Constant Field Values

SCHEMA_VALIDATION

static final int SCHEMA_VALIDATION
See Also:
Constant Field Values
Method Detail

setNamespaceAware

void setNamespaceAware(boolean isNamespaceAware)

setWhitespacePreserving

void setWhitespacePreserving(boolean isWhitespacePreserving)

getValidationMode

int getValidationMode()

setValidationMode

void setValidationMode(int validationMode)

getEntityResolver

org.xml.sax.EntityResolver getEntityResolver()

setEntityResolver

void setEntityResolver(org.xml.sax.EntityResolver entityResolver)

getErrorHandler

org.xml.sax.ErrorHandler getErrorHandler()

setErrorHandler

void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)

setXMLSchema

void setXMLSchema(java.net.URL url)
                  throws XMLPlatformException
Throws:
XMLPlatformException

setXMLSchemas

void setXMLSchemas(java.lang.Object[] schemas)
                   throws XMLPlatformException
Throws:
XMLPlatformException

setXMLSchema

void setXMLSchema(javax.xml.validation.Schema schema)
                  throws XMLPlatformException
Throws:
XMLPlatformException

getXMLSchema

javax.xml.validation.Schema getXMLSchema()
                                         throws XMLPlatformException
Throws:
XMLPlatformException

parse

org.w3c.dom.Document parse(org.xml.sax.InputSource inputSource)
                           throws XMLPlatformException
Throws:
XMLPlatformException

parse

org.w3c.dom.Document parse(java.io.File file)
                           throws XMLPlatformException
Throws:
XMLPlatformException

parse

org.w3c.dom.Document parse(java.io.InputStream inputStream)
                           throws XMLPlatformException
Throws:
XMLPlatformException

parse

org.w3c.dom.Document parse(java.io.Reader reader)
                           throws XMLPlatformException
Throws:
XMLPlatformException

parse

org.w3c.dom.Document parse(javax.xml.transform.Source source)
                           throws XMLPlatformException
Throws:
XMLPlatformException

parse

org.w3c.dom.Document parse(java.net.URL url)
                           throws XMLPlatformException
Throws:
XMLPlatformException

EclipseLink 1.1.4, build 'v20100812-r7860' API Reference