Class PseudoClassCondition
- java.lang.Object
-
- org.htmlunit.cssparser.parser.AbstractLocatable
-
- org.htmlunit.cssparser.parser.condition.PseudoClassCondition
-
public class PseudoClassCondition extends AbstractLocatable implements Condition, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.htmlunit.cssparser.parser.condition.Condition
Condition.ConditionType
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
doubleColon_
private java.lang.String
value_
-
Constructor Summary
Constructors Constructor Description PseudoClassCondition(java.lang.String value, Locator locator, boolean doubleColon)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition.ConditionType
getConditionType()
java.lang.String
getLocalName()
java.lang.String
getValue()
java.lang.String
toString()
-
Methods inherited from class org.htmlunit.cssparser.parser.AbstractLocatable
getLocator, setLocator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.htmlunit.cssparser.parser.Locatable
getLocator, setLocator
-
-
-
-
Constructor Detail
-
PseudoClassCondition
public PseudoClassCondition(java.lang.String value, Locator locator, boolean doubleColon)
Ctor.- Parameters:
value
- the valuelocator
- the locatordoubleColon
- true if was prefixed by double colon
-
-
Method Detail
-
getConditionType
public Condition.ConditionType getConditionType()
- Specified by:
getConditionType
in interfaceCondition
- Returns:
- the associated condition type
-
getLocalName
public java.lang.String getLocalName()
- Specified by:
getLocalName
in interfaceCondition
- Returns:
- the local name
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-