Class LAttribute

java.lang.Object
io.jenkins.plugins.xmleditor.core.model.LAttribute
All Implemented Interfaces:
LItem

public final class LAttribute extends Object implements LItem
An attribute with the exact whitespace before it, the text around =, its quote and its raw value.
  • Constructor Details

    • LAttribute

      public LAttribute(String leadingWhitespace, String name, String equalsRaw, char quote, String rawValue)
  • Method Details

    • owner

      public LElement owner()
    • leadingWhitespace

      public String leadingWhitespace()
    • name

      public String name()
    • prefix

      public String prefix()
    • localName

      public String localName()
    • isNamespaceDeclaration

      public boolean isNamespaceDeclaration()
    • equalsRaw

      public String equalsRaw()
      The text between the name and the opening quote, e.g. "=" or " = ".
    • quote

      public char quote()
    • rawValue

      public String rawValue()
    • setRawValue

      public void setRawValue(String rawValue)
      Replaces the value; rawValue must already be escaped for quote().
    • value

      public String value()
      The normalized value as an XML processor sees it.