Class DefaultMetaDataObject


  • public class DefaultMetaDataObject
    extends MetaDataObject
    The Class DefaultMetaDataObject, a fall back if we do not understand the meta data that is encoded in the XML.
    Author:
    Martin Scharm
    • Constructor Detail

      • DefaultMetaDataObject

        public DefaultMetaDataObject​(org.jdom2.Element describingElement)
        Instantiates a new default meta data object.
        Parameters:
        describingElement - the element rooting the subtree that describes an entity
    • Method Detail

      • injectDescription

        public void injectDescription​(org.jdom2.Element parent)
        Description copied from class: MetaDataObject
        Inject the description into parent.
        Specified by:
        injectDescription in class MetaDataObject
        Parameters:
        parent - the parent element that will host the description
      • tryToRead

        public static DefaultMetaDataObject tryToRead​(org.jdom2.Element element)
        Try to read a meta data object.
        Parameters:
        element - the element rooting the meta data subtree
        Returns:
        the default meta data object