public class DocumentTypeIdentifier extends AbstractQualifiedIdentifier implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static Scheme |
BUSDOX_DOCID_QNS_SCHEME |
static Scheme |
DEFAULT_SCHEME
Deprecated.
|
static String |
DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS
Default document identifier scheme
|
static String |
DOCUMENT_TYPE_SCHEME_PEPPOL_DOCTYPE_WILDCARD
The "Wildcard" document type identifier scheme as per Peppol Policy for use of Identifiers 4.2.0.
|
static String |
IDENTIFIER_SEPARATOR
Separator between Identifier and scheme/element
|
static Scheme |
PEPPOL_DOCTYPE_WILDCARD_SCHEME |
static String |
SYNTAX_SUBTYPE_SEPARATOR
Separator between syntax and subtype
|
identifier, scheme| Modifier | Constructor and Description |
|---|---|
protected |
DocumentTypeIdentifier(String value,
Scheme scheme) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDefaultDocumentTypeIdentifierScheme() |
int |
hashCode() |
static DocumentTypeIdentifier |
of(String identifier) |
static DocumentTypeIdentifier |
of(String identifier,
Scheme scheme) |
static DocumentTypeIdentifier |
parse(String str) |
String |
toString() |
getIdentifier, getScheme, urlencodedpublic static final String IDENTIFIER_SEPARATOR
public static final String SYNTAX_SUBTYPE_SEPARATOR
public static final String DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS
public static final String DOCUMENT_TYPE_SCHEME_PEPPOL_DOCTYPE_WILDCARD
@Deprecated public static final Scheme DEFAULT_SCHEME
BUSDOX_DOCID_QNS_SCHEME or PEPPOL_DOCTYPE_WILDCARD_SCHEMEpublic static final Scheme BUSDOX_DOCID_QNS_SCHEME
public static final Scheme PEPPOL_DOCTYPE_WILDCARD_SCHEME
public String getDefaultDocumentTypeIdentifierScheme()
public static DocumentTypeIdentifier of(String identifier)
public static DocumentTypeIdentifier of(String identifier, Scheme scheme)
public static DocumentTypeIdentifier parse(String str) throws PeppolParsingException
PeppolParsingExceptionCopyright © 2022 NorStella. All rights reserved.