public interface IUBLDocumentType extends com.helger.commons.xml.schema.IHasSchema, Serializable
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getImplementationClass() |
String |
getLocalName() |
String |
getNamespaceURI() |
Package |
getPackage() |
QName |
getQName() |
Schema |
getSchema() |
Validator |
getValidator() |
String |
getXSDPath() |
com.helger.commons.io.IReadableResource |
getXSDResource() |
com.helger.commons.error.IResourceErrorGroup |
validateXML(com.helger.commons.io.IReadableResource aXML)
Validate the passed XML instance against the XML Schema of this document
type.
|
@Nonnull Class<?> getImplementationClass()
null.@Nonnull Package getPackage()
null.@Nonnull String getLocalName()
@Nonnull String getNamespaceURI()
null XML namespace of this UBL document type.@Nonnull QName getQName()
null.@Nonnull String getXSDPath()
@Nonnull com.helger.commons.io.IReadableResource getXSDResource()
@Nonnull Schema getSchema()
getSchema in interface com.helger.commons.xml.schema.IHasSchemanull compiled Schema object retrieved
by the XMLSchemaCache.@Nonnull Validator getValidator()
null compiled Validator object
retrieved from the schema to be obtained from getSchema().@Nonnull com.helger.commons.error.IResourceErrorGroup validateXML(@Nonnull com.helger.commons.io.IReadableResource aXML)
aXML - The XML resource to be validated.null group of validation errors. Is empty if no
error occurred.Copyright © 2014–2015 Philip Helger. All rights reserved.