Top Description Constructors Methods
org.apache.xerces.jaxp.validation

pack-priv final Class Util

extends Object
Class Inheritance
Imports
javax.xml.transform.stream.StreamSource, org.apache.xerces.xni.XNIException, org.apache.xerces.xni.parser.XMLInputSource, .XMLParseException, org.xml.sax.SAXException, .SAXParseException

Static utility methods for the Validation API implementation.

Author
Kohsuke Kawaguchi ([email protected])
Version
$Id: Util.java 447235 2006-09-18 05:01:44Z mrglavas $

Constructor Summary

AccessConstructor and Description
pack-priv
Util()

Method Summary

Modifier and TypeMethod and Description
public static SAXException
toSAXException(XNIException e)

Reconstructs SAXException from XNIException.

public static SAXParseException
public static final XMLInputSource

Returns:

always return non-null valid object.
toXMLInputSource
(StreamSource in)

Creates a proper XMLInputSource from a StreamSource.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Utilback to summary
pack-priv Util()

Method Detail

toSAXExceptionback to summary
public static SAXException toSAXException(XNIException e)

Reconstructs SAXException from XNIException.

toSAXParseExceptionback to summary
public static SAXParseException toSAXParseException(XMLParseException e)
toXMLInputSourceback to summary
public static final XMLInputSource toXMLInputSource(StreamSource in)

Creates a proper XMLInputSource from a StreamSource.

Returns:XMLInputSource

always return non-null valid object.