@Immutable public final class UBLTRDocumentTypes extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.collection.impl.ICommonsSet<String> |
getAllLocalNames() |
static EUBLTRDocumentType |
getDocumentTypeOfImplementationClass(Class<?> aImplClass)
Get the UBLTR document type matching the passed implementation class.
|
static EUBLTRDocumentType |
getDocumentTypeOfLocalName(String sLocalName)
Get the document type matching the passed document element local name.
|
static Class<?> |
getImplementationClassOfLocalName(String sLocalName)
Get the domain object class of the passed document element local name.
|
static Schema |
getSchemaOfImplementationClass(Class<?> aImplClass)
Get the XSD Schema object for the UBLTR document type of the passed
implementation class.
|
static Schema |
getSchemaOfLocalName(String sLocalName)
Get the XSD Schema object for the UBLTR document type of the passed
document element local name.
|
@Nonnull @ReturnsMutableCopy public static com.helger.commons.collection.impl.ICommonsSet<String> getAllLocalNames()
null set of all supported UBLTR document element
local names.@Nullable public static EUBLTRDocumentType getDocumentTypeOfLocalName(@Nullable String sLocalName)
sLocalName - The document element local name of any UBLTR document type. May be
null.null if no UBLTR document type matching the specified
local name exists.@Nullable public static Class<?> getImplementationClassOfLocalName(@Nullable String sLocalName)
sLocalName - The document element local name of any UBLTR document type. May be
null.null if no such implementation class exists.@Nullable public static EUBLTRDocumentType getDocumentTypeOfImplementationClass(@Nullable Class<?> aImplClass)
aImplClass - The implementation class to use. May be null.null if the implementation class is null
or if no UBLTR document type has the specified implementation
class.@Nullable public static Schema getSchemaOfLocalName(@Nullable String sLocalName)
sLocalName - The document element local name of any UBLTR document type. May be
null.null if no such UBLTR document type exists.@Nullable public static Schema getSchemaOfImplementationClass(@Nullable Class<?> aImplClass)
aImplClass - The implementation class of any UBLTR document type. May be
null.null if no such UBLTR document type exists.Copyright © 2016–2020 Philip Helger. All rights reserved.