public interface CSSValueSyntax
Represents a CSS value syntax component.
Example: <length>
.
See also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The syntax category.static enum
static enum
The syntax multiplier. -
Method Summary
Modifier and TypeMethodDescriptionThe category corresponding to the name of the component.The multiplier.getName()
The name of the component.getNext()
The next syntax component after the|
character, if any.Create a shallow clone of this syntax, i.e. one that does not have anext
syntax component.
-
Method Details
-
getCategory
CSSValueSyntax.Category getCategory()The category corresponding to the name of the component.- Returns:
- the category.
-
getName
String getName()The name of the component.- Returns:
- the name.
-
getMultiplier
CSSValueSyntax.Multiplier getMultiplier()The multiplier.- Returns:
- the multiplier.
-
getNext
CSSValueSyntax getNext()The next syntax component after the|
character, if any.- Returns:
- the next component, or
null
if there is none.
-
shallowClone
CSSValueSyntax shallowClone()Create a shallow clone of this syntax, i.e. one that does not have anext
syntax component.If this syntax has no next component, returns itself.
- Returns:
- a shallow clone of this syntax.
-