Class DocumentTypeIdentifier
- java.lang.Object
-
- network.oxalis.vefa.peppol.common.model.AbstractQualifiedIdentifier
-
- network.oxalis.vefa.peppol.common.model.DocumentTypeIdentifier
-
- All Implemented Interfaces:
Serializable,QualifiedIdentifier
public class DocumentTypeIdentifier extends AbstractQualifiedIdentifier implements Serializable
DocumentTypeIdentifier is a combination of XML type and customizationId.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SchemeBUSDOX_DOCID_QNS_SCHEMEstatic SchemeDEFAULT_SCHEMEDeprecated.static StringDOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNSDefault document identifier schemestatic StringDOCUMENT_TYPE_SCHEME_PEPPOL_DOCTYPE_WILDCARDThe "Wildcard" document type identifier scheme as per Peppol Policy for use of Identifiers 4.2.0.static StringIDENTIFIER_SEPARATORSeparator between Identifier and scheme/elementstatic SchemePEPPOL_DOCTYPE_WILDCARD_SCHEMEstatic StringSYNTAX_SUBTYPE_SEPARATORSeparator between syntax and subtype-
Fields inherited from class network.oxalis.vefa.peppol.common.model.AbstractQualifiedIdentifier
identifier, scheme
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDocumentTypeIdentifier(String value, Scheme scheme)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDefaultDocumentTypeIdentifierScheme()inthashCode()static DocumentTypeIdentifierof(String identifier)static DocumentTypeIdentifierof(String identifier, Scheme scheme)static DocumentTypeIdentifierparse(String str)StringtoString()-
Methods inherited from class network.oxalis.vefa.peppol.common.model.AbstractQualifiedIdentifier
getIdentifier, getScheme, urlencoded
-
-
-
-
Field Detail
-
IDENTIFIER_SEPARATOR
public static final String IDENTIFIER_SEPARATOR
Separator between Identifier and scheme/element- See Also:
- Constant Field Values
-
SYNTAX_SUBTYPE_SEPARATOR
public static final String SYNTAX_SUBTYPE_SEPARATOR
Separator between syntax and subtype- See Also:
- Constant Field Values
-
DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS
public static final String DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS
Default document identifier scheme- See Also:
- Constant Field Values
-
DOCUMENT_TYPE_SCHEME_PEPPOL_DOCTYPE_WILDCARD
public static final String DOCUMENT_TYPE_SCHEME_PEPPOL_DOCTYPE_WILDCARD
The "Wildcard" document type identifier scheme as per Peppol Policy for use of Identifiers 4.2.0.- See Also:
- Constant Field Values
-
DEFAULT_SCHEME
@Deprecated public static final Scheme DEFAULT_SCHEME
Deprecated.Scheme busdox-docid-qns is default Scheme For PINT profile always specify @link #PEPPOL_DOCTYPE_WILDCARD_SCHEME}
-
BUSDOX_DOCID_QNS_SCHEME
public static final Scheme BUSDOX_DOCID_QNS_SCHEME
-
PEPPOL_DOCTYPE_WILDCARD_SCHEME
public static final Scheme PEPPOL_DOCTYPE_WILDCARD_SCHEME
-
-
Method Detail
-
getDefaultDocumentTypeIdentifierScheme
public String getDefaultDocumentTypeIdentifierScheme()
-
of
public static DocumentTypeIdentifier of(String identifier)
-
of
public static DocumentTypeIdentifier of(String identifier, Scheme scheme)
-
parse
public static DocumentTypeIdentifier parse(String str) throws PeppolParsingException
- Throws:
PeppolParsingException
-
-