Attribute |
Element.attributeObject(java.lang.String name) |
Gets the Attribute object for the specified attribute name.
|
Attribute |
Attribute.clone() |
Deprecated.
|
Attribute |
Attribute.copy() |
Creates a deep copy of this attribute.
|
static Attribute |
Attribute.of(QName qname,
java.lang.String value) |
Creates an attribute from a QName and value.
|
static Attribute |
Attribute.of(java.lang.String name,
java.lang.String value) |
Creates an attribute with the specified name and value.
|
static Attribute |
Attribute.of(java.lang.String name,
java.lang.String value,
QuoteStyle quoteStyle) |
Creates an attribute with the specified name, value, and quote style.
|
static Attribute |
Attribute.of(java.lang.String name,
java.lang.String value,
QuoteStyle quoteStyle,
java.lang.String precedingWhitespace) |
Creates an attribute with all formatting options.
|
Attribute |
Attribute.precedingWhitespace(java.lang.String precedingWhitespace) |
|
Attribute |
Attribute.quoteStyle(QuoteStyle quoteStyle) |
|
Attribute |
Attribute.rawValue(java.lang.String rawValue) |
|
Attribute |
Attribute.value(java.lang.String value) |
|
Attribute |
Attribute.withPrecedingWhitespace(java.lang.String newWhitespace) |
Creates a new attribute with the specified preceding whitespace, preserving other properties.
|
Attribute |
Attribute.withQuoteStyle(QuoteStyle newQuoteStyle) |
Creates a new attribute with the specified quote style, preserving other properties.
|
Attribute |
Attribute.withValue(java.lang.String newValue) |
Creates a new attribute with the specified value, preserving other properties.
|