Class CssAttributeSelectorNode
- java.lang.Object
-
- com.google.common.css.compiler.ast.CssNode
-
- com.google.common.css.compiler.ast.CssRefinerNode
-
- com.google.common.css.compiler.ast.CssAttributeSelectorNode
-
- All Implemented Interfaces:
Locatable
public class CssAttributeSelectorNode extends CssRefinerNode
ACssRefinerNodeimplementation that represents an attribute selector. For example:[hreflang|="en"]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCssAttributeSelectorNode.MatchTypeDetermines how the given value has to match the value of the attribute so that the attribute is selected.-
Nested classes/interfaces inherited from class com.google.common.css.compiler.ast.CssRefinerNode
CssRefinerNode.Refiner
-
-
Field Summary
-
Fields inherited from class com.google.common.css.compiler.ast.CssRefinerNode
refinerName, refinerType
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCssAttributeSelectorNode(CssAttributeSelectorNode node)CssAttributeSelectorNode(CssAttributeSelectorNode.MatchType matchType, java.lang.String attributeName, CssValueNode value, SourceCodeLocation sourceCodeLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CssAttributeSelectorNodedeepCopy()java.lang.StringgetAttributeName()java.lang.StringgetMatchSymbol()CssAttributeSelectorNode.MatchTypegetMatchType()CssSelectorNode.SpecificitygetSpecificity()CssValueNodegetValue()-
Methods inherited from class com.google.common.css.compiler.ast.CssRefinerNode
getPrefix, getRefinerName, getRefinerType, getSuffix, toString
-
Methods inherited from class com.google.common.css.compiler.ast.CssNode
ancestors, appendComment, deepCopyNodes, equals, getComments, getParent, getShouldBeFlipped, getSourceCodeLocation, getVisitController, hasComment, hashCode, inFunArgs, setComments, setShouldBeFlipped, setSourceCodeLocation
-
-
-
-
Constructor Detail
-
CssAttributeSelectorNode
public CssAttributeSelectorNode(CssAttributeSelectorNode.MatchType matchType, java.lang.String attributeName, CssValueNode value, SourceCodeLocation sourceCodeLocation)
-
CssAttributeSelectorNode
protected CssAttributeSelectorNode(CssAttributeSelectorNode node)
-
-
Method Detail
-
deepCopy
public CssAttributeSelectorNode deepCopy()
-
getMatchType
public CssAttributeSelectorNode.MatchType getMatchType()
-
getMatchSymbol
public java.lang.String getMatchSymbol()
-
getAttributeName
public java.lang.String getAttributeName()
-
getValue
public CssValueNode getValue()
-
getSpecificity
public CssSelectorNode.Specificity getSpecificity()
- Specified by:
getSpecificityin classCssRefinerNode
-
-