Package jadex.xml

Class AttributeInfo


  • public class AttributeInfo
    extends java.lang.Object
    Base class for attribute infos.
    • Field Detail

      • CONTENT

        public static final java.lang.String CONTENT
        Constant for identifying content.
        See Also:
        Constant Field Values
      • COMMENT

        public static final java.lang.String COMMENT
        Constant for identifying comment.
        See Also:
        Constant Field Values
      • ID

        public static final java.lang.String ID
        The value of this attribute is used as id.
        See Also:
        Constant Field Values
      • IDREF

        public static final java.lang.String IDREF
        The value of this attribute is used as idref.
        See Also:
        Constant Field Values
      • accessinfo

        protected AccessInfo accessinfo
        The access info.
      • id

        protected java.lang.String id
        Is this attribute used as id or idref.
    • Constructor Detail

      • AttributeInfo

        public AttributeInfo​(AccessInfo accessinfo)
        Create a new attribute info.
      • AttributeInfo

        public AttributeInfo​(AccessInfo accessinfo,
                             IAttributeConverter converter,
                             java.lang.String id)
        Create a new attribute info.
    • Method Detail

      • getAccessInfo

        public AccessInfo getAccessInfo()
        Get the accessinfo.
        Returns:
        The accessinfo.
      • getAttributeIdentifier

        public java.lang.Object getAttributeIdentifier()
        Get the attributeidentifier.
        Returns:
        The attributeidentifier.
      • getXMLAttributeNames

        public QName[] getXMLAttributeNames()
        Get the attribute name as path.
        Returns:
        The attribute names.
      • isIgnoreRead

        public boolean isIgnoreRead()
        Is ignore read.
        Returns:
        True, if should be ignored when reading.
      • isIgnoreWrite

        public boolean isIgnoreWrite()
        Is ignore write.
        Returns:
        True, if should be ignored when writing.
      • getConverter

        public IAttributeConverter getConverter()
        Get the attribute converter.
        Returns:
        The converter.
      • getId

        public java.lang.String getId()
        Get the id.
        Returns:
        The id.