public enum EUBL20DocumentType extends Enum<EUBL20DocumentType> implements IUBLDocumentType
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getImplementationClass() |
String |
getLocalName() |
String |
getNamespaceURI() |
Package |
getPackage() |
QName |
getQName() |
Schema |
getSchema() |
Validator |
getValidator() |
String |
getXSDPath() |
com.helger.commons.io.IReadableResource |
getXSDResource() |
com.helger.commons.error.IResourceErrorGroup |
validateXML(com.helger.commons.io.IReadableResource aXML)
Validate the passed XML instance against the XML Schema of this document
type.
|
static EUBL20DocumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EUBL20DocumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EUBL20DocumentType APPLICATION_RESPONSE
public static final EUBL20DocumentType ATTACHED_DOCUMENT
public static final EUBL20DocumentType BILL_OF_LADING
public static final EUBL20DocumentType CATALOGUE
public static final EUBL20DocumentType CATALOGUE_DELETION
public static final EUBL20DocumentType CATALOGUE_ITEM_SPECIFICATION_UPDATE
public static final EUBL20DocumentType CATALOGUE_PRICING_UPDATE
public static final EUBL20DocumentType CATALOGUE_REQUEST
public static final EUBL20DocumentType CERTIFICATE_OF_ORIGIN
public static final EUBL20DocumentType CREDIT_NOTE
public static final EUBL20DocumentType DEBIT_NOTE
public static final EUBL20DocumentType DESPATCH_ADVICE
public static final EUBL20DocumentType FORWARDING_INSTRUCTIONS
public static final EUBL20DocumentType FREIGHT_INVOICE
public static final EUBL20DocumentType INVOICE
public static final EUBL20DocumentType ORDER
public static final EUBL20DocumentType ORDER_CANCELLATION
public static final EUBL20DocumentType ORDER_CHANGE
public static final EUBL20DocumentType ORDER_RESPONSE
public static final EUBL20DocumentType ORDER_RESPONSE_SIMPLE
public static final EUBL20DocumentType PACKING_LIST
public static final EUBL20DocumentType QUOTATION
public static final EUBL20DocumentType RECEIPT_ADVICE
public static final EUBL20DocumentType REMINDER
public static final EUBL20DocumentType REMITTANCE_ADVICE
public static final EUBL20DocumentType REQUEST_FOR_QUOTATION
public static final EUBL20DocumentType SELF_BILLED_CREDIT_NOTE
public static final EUBL20DocumentType SELF_BILLED_INVOICE
public static final EUBL20DocumentType STATEMENT
public static final EUBL20DocumentType TRANSPORTATION_STATUS
public static final EUBL20DocumentType WAYBILL
public static EUBL20DocumentType[] values()
for (EUBL20DocumentType c : EUBL20DocumentType.values()) System.out.println(c);
public static EUBL20DocumentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull public Class<?> getImplementationClass()
getImplementationClass in interface IUBLDocumentTypenull.@Nonnull public Package getPackage()
getPackage in interface IUBLDocumentTypenull.@Nonnull public String getLocalName()
getLocalName in interface IUBLDocumentType@Nonnull public String getNamespaceURI()
getNamespaceURI in interface IUBLDocumentTypenull XML namespace of this UBL document type.@Nonnull public QName getQName()
getQName in interface IUBLDocumentTypenull.@Nonnull public String getXSDPath()
getXSDPath in interface IUBLDocumentType@Nonnull public com.helger.commons.io.IReadableResource getXSDResource()
getXSDResource in interface IUBLDocumentType@Nonnull public Schema getSchema()
getSchema in interface com.helger.commons.xml.schema.IHasSchemagetSchema in interface IUBLDocumentTypenull compiled Schema object retrieved
by the XMLSchemaCache.@Nonnull public Validator getValidator()
getValidator in interface IUBLDocumentTypenull compiled Validator object
retrieved from the schema to be obtained from IUBLDocumentType.getSchema().@Nonnull public com.helger.commons.error.IResourceErrorGroup validateXML(@Nonnull com.helger.commons.io.IReadableResource aXML)
IUBLDocumentTypevalidateXML in interface IUBLDocumentTypeaXML - The XML resource to be validated.null group of validation errors. Is empty if no
error occurred.Copyright © 2014–2015 Philip Helger. All rights reserved.