@Immutable public final class UBL21DocumentTypes extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
getAllLocalNames() |
static Set<String> |
getAllNamespaces() |
static EUBL21DocumentType |
getDocumentTypeOfLocalName(String sLocalName)
Get the document type matching the passed document element local name.
|
static EUBL21DocumentType |
getDocumentTypeOfNamespace(String sNamespace)
Get the document type matching the passed namespace.
|
static Class<?> |
getImplementationClassOfLocalName(String sLocalName)
Get the domain object class of the passed document element local name.
|
static Class<?> |
getImplementationClassOfNamespace(String sNamespace)
Get the domain object class of the passed namespace.
|
static Schema |
getSchemaOfImplementationClass(Class<?> aImplClass)
Get the XSD Schema object for the UBL 2.1 document type of the passed
implementation class.
|
static Schema |
getSchemaOfLocalName(String sLocalName)
Get the XSD Schema object for the UBL 2.1 document type of the passed
document element local name.
|
static Schema |
getSchemaOfNamespace(String sNamespace)
Get the XSD Schema object for the UBL 2.1 document type of the passed
namespace.
|
@Nonnull @ReturnsImmutableObject public static Set<String> getAllNamespaces()
null set of all supported UBL 2.1 namespaces.@Nullable public static EUBL21DocumentType getDocumentTypeOfNamespace(@Nullable String sNamespace)
sNamespace - The namespace URI of any UBL 2.1 document type. May be
null.null if no UBL 2.1 document type matching the
specified namespace URI exists.@Nullable public static Class<?> getImplementationClassOfNamespace(@Nullable String sNamespace)
sNamespace - The namespace URI of any UBL 2.1 document type. May be
null.null if no such UBL 2.1 document type exists.@Nullable public static Schema getSchemaOfNamespace(@Nullable String sNamespace)
sNamespace - The namespace URI of any UBL 2.1 document type. May be
null.null if no such UBL 2.1 document type exists.@Nonnull @ReturnsImmutableObject public static Set<String> getAllLocalNames()
null set of all supported UBL 2.1 document
element local names.@Nullable public static EUBL21DocumentType getDocumentTypeOfLocalName(@Nullable String sLocalName)
sLocalName - The document element local name of any UBL 2.1 document type. May
be null.null if no UBL 2.1 document type matching the
specified local name exists.@Nullable public static Class<?> getImplementationClassOfLocalName(@Nullable String sLocalName)
sLocalName - The document element local name of any UBL 2.1 document type. May
be null.null if no such implementation class exists.@Nullable public static Schema getSchemaOfLocalName(@Nullable String sLocalName)
sLocalName - The document element local name of any UBL 2.1 document type. May
be null.null if no such UBL 2.1 document type exists.@Nullable public static Schema getSchemaOfImplementationClass(@Nullable Class<?> aImplClass)
aImplClass - The implementation class of any UBL 2.1 document type. May be
null.null if no such UBL 2.1 document type exists.Copyright © 2014–2015 Philip Helger. All rights reserved.