Class Profile


  • public class Profile
    extends java.lang.Object
    specifies a kind of a XML completeness levels, e.g. Factur-X has 6 (Minimum, Basic-WL, Basic, EN16931, Extended, and XRechnung), ZUGFeRD 1 had and Order-X will have three (Basic, Comfort, Extended) and the XRechnung has two (Standard, Extension) For the XRechnung at the time being please use Factur-X's Xrechnung
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String id  
      protected java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      Profile​(java.lang.String name, java.lang.String ID)
      Contruct
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getID()
      get guideline id
      java.lang.String getName()
      gets the name
      java.lang.String getXMPName()
      if the profile is embedded in PDF we need RDF metadata
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • id

        protected java.lang.String id
    • Constructor Detail

      • Profile

        public Profile​(java.lang.String name,
                       java.lang.String ID)
        Contruct
        Parameters:
        name - human readable name of the profile, also used as basis to detemine the XMP Name
        ID - XML Guideline ID
    • Method Detail

      • getName

        public java.lang.String getName()
        gets the name
        Returns:
        the name of the profile
      • getID

        public java.lang.String getID()
        get guideline id
        Returns:
        the XML Guideline ID of the profile
      • getXMPName

        public java.lang.String getXMPName()
        if the profile is embedded in PDF we need RDF metadata
        Returns:
        the XMP name string of the profile