Package org.jsoup.nodes
Class Range.AttributeRange
java.lang.Object
org.jsoup.nodes.Range.AttributeRange
- Enclosing class:
- Range
public static class Range.AttributeRange
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(Object o) inthashCode()booleanTests if this attribute range has tracked name and value offsets.Get the source range for the attribute's name.StringtoString()Get a String representation of this Attribute range, in the formline,column:pos-line,column:pos=line,column:pos-line,column:pos(name start - name end = val start - val end)Get the source range for the attribute's value.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Method Details
-
nameRange
Get the source range for the attribute's name. -
valueRange
Get the source range for the attribute's value. -
isTracked
public boolean isTracked()Tests if this attribute range has tracked name and value offsets.- Returns:
- true if the attribute's name and value ranges were tracked; false otherwise.
- Since:
- 1.23.1
-
toString
public String toString()Get a String representation of this Attribute range, in the formline,column:pos-line,column:pos=line,column:pos-line,column:pos(name start - name end = val start - val end)- Overrides:
toStringin classObject
-
equals
public boolean equals(Object o) - Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classObject
-