|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.xml.XmlUtils
Class providing some Utils for Xml Objects.
| Method Summary | |
static XmlUtils |
newInstance()
returns a new implementation instance |
abstract boolean |
validate(com.bea.xml.XmlObject xmlObject,
String systemId,
EntityResolver resolver)
Schema validates an XmlObject using the given EntityResolver
to find the schema.The schema is resolved by system id. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static XmlUtils newInstance()
throws XmlUtilsException
XmlUtilsException - if the instance cannot be created.
public abstract boolean validate(com.bea.xml.XmlObject xmlObject,
String systemId,
EntityResolver resolver)
throws XmlUtilsException
XmlObject using the given EntityResolver
to find the schema.
xmlObject - The XML instance to validatesystemId - Expected system id. The system id must be present if the xml
document does not specify an xsi:schemaLocation or
xsi:noNamespaceSchemaLocationresolver - The entity resolver used to get the schema.
NullPointerException - if the xmlObject or resolver is null
XmlUtilsException - thrown if an exception occurs trying to validate.
See XmlUtilsException for error codes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||