@Immutable public final class UBL22DocumentTypes extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.collection.impl.ICommonsSet<String> |
getAllLocalNames() |
static com.helger.commons.collection.impl.ICommonsSet<String> |
getAllNamespaces() |
static EUBL22DocumentType |
getDocumentTypeOfImplementationClass(Class<?> aImplClass)
Get the UBL 2.2 document type matching the passed implementation class.
|
static EUBL22DocumentType |
getDocumentTypeOfLocalName(String sLocalName)
Get the document type matching the passed document element local name.
|
static EUBL22DocumentType |
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.2 document type of the passed
implementation class.
|
static Schema |
getSchemaOfLocalName(String sLocalName)
Get the XSD Schema object for the UBL 2.2 document type of the passed
document element local name.
|
static Schema |
getSchemaOfNamespace(String sNamespace)
Get the XSD Schema object for the UBL 2.2 document type of the passed
namespace.
|
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.impl.ICommonsSet<String> getAllNamespaces()
null set of all supported UBL 2.2 namespaces.@Nullable public static EUBL22DocumentType getDocumentTypeOfNamespace(@Nullable String sNamespace)
sNamespace - The namespace URI of any UBL 2.2 document type. May be
null.null if no UBL 2.2 document type matching the
specified namespace URI exists.@Nullable public static Class<?> getImplementationClassOfNamespace(@Nullable String sNamespace)
sNamespace - The namespace URI of any UBL 2.2 document type. May be
null.null if no such UBL 2.2 document type exists.@Nullable public static EUBL22DocumentType getDocumentTypeOfImplementationClass(@Nullable Class<?> aImplClass)
aImplClass - The implementation class to use. May be null.null if the implementation class is null
or if no UBL 2.2 document type has the specified implementation
class.@Nullable public static Schema getSchemaOfNamespace(@Nullable String sNamespace)
sNamespace - The namespace URI of any UBL 2.2 document type. May be
null.null if no such UBL 2.2 document type exists.@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.impl.ICommonsSet<String> getAllLocalNames()
null set of all supported UBL 2.2 document
element local names.@Nullable public static EUBL22DocumentType getDocumentTypeOfLocalName(@Nullable String sLocalName)
sLocalName - The document element local name of any UBL 2.2 document type. May be
null.null if no UBL 2.2 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.2 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.2 document type. May be
null.null if no such UBL 2.2 document type exists.@Nullable public static Schema getSchemaOfImplementationClass(@Nullable Class<?> aImplClass)
aImplClass - The implementation class of any UBL 2.2 document type. May be
null.null if no such UBL 2.2 document type exists.Copyright © 2017–2021 Philip Helger. All rights reserved.