com.melloware.jspiff.jaxp
Class UJAXP
java.lang.Object
com.melloware.jspiff.jaxp.UJAXP
public final class UJAXP
- extends Object
UJAXP
- Since:
- Feb. 20, 2000
- Version:
- Jul. 10, 2003
- Author:
- ASAMI, Tomoharu (asami@relaxer.org), Emil A. Lefkof III
|
Constructor Summary |
UJAXP()
|
|
Method Summary |
static Document |
getDocument(File file)
|
static Document |
getDocument(File file,
ErrorHandler handler)
|
static Document |
getDocument(File file,
int flags)
|
static Document |
getDocument(File file,
int flags,
ErrorHandler handler)
|
static Document |
getDocument(File file,
int flags,
ErrorHandler handler,
EntityResolver resolver)
|
static Document |
getDocument(InputSource is)
|
static Document |
getDocument(InputSource is,
ErrorHandler handler)
|
static Document |
getDocument(InputSource is,
int flags)
|
static Document |
getDocument(InputSource is,
int flags,
ErrorHandler handler)
|
static Document |
getDocument(InputSource is,
int flags,
ErrorHandler handler,
EntityResolver resolver)
|
static Document |
getDocument(InputStream in)
|
static Document |
getDocument(InputStream in,
ErrorHandler handler)
|
static Document |
getDocument(InputStream in,
int flags)
|
static Document |
getDocument(InputStream in,
int flags,
ErrorHandler handler)
|
static Document |
getDocument(InputStream in,
int flags,
ErrorHandler handler,
EntityResolver resolver)
|
static Document |
getDocument(Reader reader)
|
static Document |
getDocument(Reader reader,
ErrorHandler handler)
|
static Document |
getDocument(Reader reader,
int flags)
|
static Document |
getDocument(Reader reader,
int flags,
ErrorHandler handler)
|
static Document |
getDocument(Reader reader,
int flags,
ErrorHandler handler,
EntityResolver resolver)
|
static Document |
getDocument(String uri)
|
static Document |
getDocument(String uri,
ErrorHandler handler)
|
static Document |
getDocument(String uri,
int flags)
|
static Document |
getDocument(String uri,
int flags,
ErrorHandler handler)
|
static Document |
getDocument(String uri,
String baseUri,
int flags,
ErrorHandler handler,
EntityResolver resolver)
|
static Document |
getDocument(URL url)
|
static Document |
getDocument(URL url,
ErrorHandler handler)
|
static Document |
getDocument(URL url,
int flags)
|
static Document |
getDocument(URL url,
int flags,
ErrorHandler handler)
|
static Document |
getDocument(URL url,
int flags,
ErrorHandler handler,
EntityResolver resolver)
|
static EntityResolver |
getEntityResolver()
|
static URL |
getEntityResource(String systemId)
|
static ErrorHandler |
getErrorHandler()
|
static Document |
getValidDocument(File file)
|
static Document |
getValidDocument(File file,
ErrorHandler handler)
|
static Document |
getValidDocument(InputSource is)
|
static Document |
getValidDocument(InputSource is,
ErrorHandler handler)
|
static Document |
getValidDocument(InputStream in)
|
static Document |
getValidDocument(InputStream in,
ErrorHandler handler)
|
static Document |
getValidDocument(Reader reader)
|
static Document |
getValidDocument(Reader reader,
ErrorHandler handler)
|
static Document |
getValidDocument(String uri)
|
static Document |
getValidDocument(String uri,
ErrorHandler handler)
|
static Document |
getValidDocument(URL url)
|
static Document |
getValidDocument(URL url,
ErrorHandler handler)
|
static boolean |
isMatchDataComplex(Element element,
String typeExpr)
|
static boolean |
isMatchDataComplex(String data,
String typeExpr)
|
static boolean |
isMatchDataComplexAttr(Element element,
String attrName,
String typeExpr)
|
static boolean |
isMatchDataComplexElement(Element element,
String elementName,
String typeExpr)
|
static void |
main(String[] args)
|
static Document |
makeDocument()
|
static Document |
makeDocument(ErrorHandler handler)
|
static String |
makeUri(String uri,
String baseUri)
|
static void |
setEntityResolver(EntityResolver resolver)
|
static void |
setEntityResource(String systemId,
URL resource)
|
static void |
setErrorHandler(ErrorHandler handler)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLAG_NONE
public static final int FLAG_NONE
- See Also:
- Constant Field Values
FLAG_VALIDATION
public static final int FLAG_VALIDATION
- See Also:
- Constant Field Values
FLAG_NAMESPACE_AWARE
public static final int FLAG_NAMESPACE_AWARE
- See Also:
- Constant Field Values
FLAG_WHITESPACE
public static final int FLAG_WHITESPACE
- See Also:
- Constant Field Values
FLAG_EXPAND_ENTITY_REF
public static final int FLAG_EXPAND_ENTITY_REF
- See Also:
- Constant Field Values
FLAG_IGNORE_COMMENTS
public static final int FLAG_IGNORE_COMMENTS
- See Also:
- Constant Field Values
FLAG_COALESCING
public static final int FLAG_COALESCING
- See Also:
- Constant Field Values
UJAXP
public UJAXP()
getDocument
public static Document getDocument(File file)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(String uri)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(URL url)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(File file,
int flags)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(String uri,
int flags)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(URL url,
int flags)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputStream in,
int flags)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputSource is,
int flags)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(Reader reader,
int flags)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(File file,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(String uri,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(URL url,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputStream in,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputSource is,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(Reader reader,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(File file,
int flags,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(String uri,
int flags,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(URL url,
int flags,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputStream in,
int flags,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputSource is,
int flags,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(Reader reader,
int flags,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(File file,
int flags,
ErrorHandler handler,
EntityResolver resolver)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(URL url,
int flags,
ErrorHandler handler,
EntityResolver resolver)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputStream in,
int flags,
ErrorHandler handler,
EntityResolver resolver)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(InputSource is,
int flags,
ErrorHandler handler,
EntityResolver resolver)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(Reader reader,
int flags,
ErrorHandler handler,
EntityResolver resolver)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getDocument
public static Document getDocument(String uri,
String baseUri,
int flags,
ErrorHandler handler,
EntityResolver resolver)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getEntityResolver
public static EntityResolver getEntityResolver()
getEntityResource
public static URL getEntityResource(String systemId)
getErrorHandler
public static ErrorHandler getErrorHandler()
getValidDocument
public static Document getValidDocument(File file)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(String uri)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(URL url)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(File file,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(String uri,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(URL url,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(InputStream in,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(InputSource is,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getValidDocument
public static Document getValidDocument(Reader reader,
ErrorHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
setEntityResolver
public static void setEntityResolver(EntityResolver resolver)
setEntityResource
public static void setEntityResource(String systemId,
URL resource)
setErrorHandler
public static void setErrorHandler(ErrorHandler handler)
isMatchDataComplex
public static boolean isMatchDataComplex(Element element,
String typeExpr)
isMatchDataComplex
public static boolean isMatchDataComplex(String data,
String typeExpr)