Class AttributesMap

    • Constructor Detail

      • AttributesMap

        public AttributesMap()
      • AttributesMap

        public AttributesMap​(AttributesMap attributes)
    • Method Detail

      • removeAttribute

        public void removeAttribute​(java.lang.String name)
        Specified by:
        removeAttribute in interface Attributes
      • setAttribute

        public void setAttribute​(java.lang.String name,
                                 java.lang.Object attribute)
        Specified by:
        setAttribute in interface Attributes
      • getAttribute

        public java.lang.Object getAttribute​(java.lang.String name)
        Specified by:
        getAttribute in interface Attributes
      • getAttributeNames

        public java.util.Enumeration<java.lang.String> getAttributeNames()
        Specified by:
        getAttributeNames in interface Attributes
      • getAttributeEntrySet

        public java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.Object>> getAttributeEntrySet()
      • getAttributeNamesCopy

        public static java.util.Enumeration<java.lang.String> getAttributeNamesCopy​(Attributes attrs)
      • size

        public int size()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • addAll

        public void addAll​(Attributes attributes)
      • dump

        public java.lang.String dump()
        Specified by:
        dump in interface Dumpable
      • dump

        public void dump​(java.lang.Appendable out,
                         java.lang.String indent)
                  throws java.io.IOException
        Description copied from interface: Dumpable
        Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
        Specified by:
        dump in interface Dumpable
        Parameters:
        out - The appendable to dump to
        indent - The indent to apply after any new lines.
        Throws:
        java.io.IOException - if unable to write to Appendable