|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.xml.XmlUtils
public abstract class XmlUtils
Class providing some Utils for Xml Objects.
| Method Summary | |
|---|---|
static XmlUtils |
newInstance()
returns a new implementation instance |
abstract boolean |
validate(org.apache.xmlbeans.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
org.apache.xmlbeans.XmlUtilsException - if the instance cannot be created.
XmlUtilsException
public abstract boolean validate(org.apache.xmlbeans.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
org.apache.xmlbeans.XmlUtilsException - thrown if an exception occurs trying to validate.
See XmlUtilsException for error codes.
XmlUtilsException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||