Class Attribute

java.lang.Object
jodd.lagarto.dom.Attribute
All Implemented Interfaces:
Cloneable

public class Attribute extends Object implements Cloneable
Elements attribute.
  • Field Details

    • rawName

      protected final String rawName
    • name

      protected final String name
    • value

      protected String value
    • splits

      protected String[] splits
  • Constructor Details

  • Method Details

    • clone

      public Attribute clone()
      Overrides:
      clone in class Object
    • getRawName

      public String getRawName()
      Returns attributes raw name.
    • getName

      public String getName()
      Returns attributes name.
    • getValue

      public String getValue()
      Returns attribute value.
    • setValue

      public void setValue(String value)
      Sets attribute value.
    • isContaining

      public boolean isContaining(String include)
      Returns true if attribute is containing some value.