Class CssPseudoElementNode.AttributesStub

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AttributesStub()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttribute​(java.lang.String key)
      Gets the value of an attribute, given a key.
      java.util.Iterator<IAttribute> iterator()
      void setAttribute​(java.lang.String key, java.lang.String value)
      Adds a key and a value of an attributes.
      int size()
      Returns the number of attributes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • AttributesStub

        private AttributesStub()
    • Method Detail

      • getAttribute

        public java.lang.String getAttribute​(java.lang.String key)
        Gets the value of an attribute, given a key.
        Specified by:
        getAttribute in interface IAttributes
        Parameters:
        key - the key
        Returns:
        the attribute
      • setAttribute

        public void setAttribute​(java.lang.String key,
                                 java.lang.String value)
        Adds a key and a value of an attributes.
        Specified by:
        setAttribute in interface IAttributes
        Parameters:
        key - the key
        value - the value
      • size

        public int size()
        Returns the number of attributes.
        Specified by:
        size in interface IAttributes
        Returns:
        the number of attributes
      • iterator

        public java.util.Iterator<IAttribute> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<IAttribute>