Class ContextAttributes


  • public class ContextAttributes
    extends AttributeContainer
    Represents the ContextAttributes which is a container of attributes.
    Version:
    • Field Detail

      • ContextAttributes_java_sourceCodeID

        public static final java.lang.String ContextAttributes_java_sourceCodeID
        See Also:
        Constant Field Values
      • ContextAttributes_java_copyright

        public static final java.lang.String ContextAttributes_java_copyright
    • Constructor Detail

      • ContextAttributes

        public ContextAttributes()
        Construct an empty ContextAttributes object.
      • ContextAttributes

        public ContextAttributes​(Attribute[] attributes)
        Construct a ContextAttributes object with an array of Attributes.
        Parameters:
        attributes - an array of Attributes for this ContextAttributes object.
    • Method Detail

      • getElementName

        public java.lang.String getElementName()
        Returns the name of this ContextAttributes object as a String.
        Returns:
        the name of this ContextAttributes object as a String.
      • fromXml

        public static ContextAttributes fromXml​(org.w3c.dom.Element element)
        Converts XML (in the form of an org.w3c.dom.Element object) into an ContextAttributes object.
        Parameters:
        element - the org.w3c.dom.Element from which a ContextAttributes object will be created.
        Returns:
        a ContextAttributes object created from XML (in the form of an org.w3c.dom.Element object).