public enum ECSSNodeType extends Enum<ECSSNodeType>
| Modifier and Type | Method and Description |
|---|---|
static String |
getDump(CSSNode aParserNode,
ECSSVersion eVersion) |
static boolean |
isErrorNode(CSSNode aParserNode,
ECSSVersion eVersion) |
boolean |
isNode(CSSNode aParserNode,
ECSSVersion eVersion)
Check if the passed parser node is of
this type. |
static ECSSNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECSSNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECSSNodeType ROOT
public static final ECSSNodeType CHARSET
public static final ECSSNodeType UNKNOWNRULE
public static final ECSSNodeType UNKNOWNRULEPARAMETERLIST
public static final ECSSNodeType UNKNOWNRULEBODY
public static final ECSSNodeType STYLERULE
public static final ECSSNodeType IMPORTRULE
public static final ECSSNodeType PAGERULE
public static final ECSSNodeType MEDIARULE
public static final ECSSNodeType FONTFACERULE
public static final ECSSNodeType SELECTOR
public static final ECSSNodeType STYLEDECLARATIONLIST
public static final ECSSNodeType STYLEDECLARATION
public static final ECSSNodeType NAMESPACEPREFIX
public static final ECSSNodeType ELEMENTNAME
public static final ECSSNodeType HASH
public static final ECSSNodeType CLASS
public static final ECSSNodeType PSEUDO
public static final ECSSNodeType HOST
public static final ECSSNodeType HOSTCONTEXT
public static final ECSSNodeType SLOTTED
public static final ECSSNodeType NEGATION
public static final ECSSNodeType ATTRIB
public static final ECSSNodeType ATTRIBOPERATOR
public static final ECSSNodeType ATTRIBVALUE
public static final ECSSNodeType SELECTORCOMBINATOR
public static final ECSSNodeType NTH
public static final ECSSNodeType PROPERTY
public static final ECSSNodeType IMPORTANT
public static final ECSSNodeType EXPR
public static final ECSSNodeType EXPRTERM
public static final ECSSNodeType EXPROPERATOR
public static final ECSSNodeType URL
public static final ECSSNodeType FUNCTION
public static final ECSSNodeType CALC
public static final ECSSNodeType CALCSUMOPERATOR
public static final ECSSNodeType CALCPRODUCT
public static final ECSSNodeType CALCPRODUCTOPERATOR
public static final ECSSNodeType CALCUNIT
public static final ECSSNodeType LINE_NAMES
public static final ECSSNodeType LINE_NAME
public static final ECSSNodeType MEDIALIST
public static final ECSSNodeType MEDIUM
public static final ECSSNodeType MEDIAQUERY
public static final ECSSNodeType MEDIAMODIFIER
public static final ECSSNodeType MEDIAEXPR
public static final ECSSNodeType MEDIAFEATURE
public static final ECSSNodeType PSEUDOPAGE
public static final ECSSNodeType PAGESELECTOR
public static final ECSSNodeType PAGEMARGINSYMBOL
public static final ECSSNodeType PAGERULEBLOCK
public static final ECSSNodeType KEYFRAMESRULE
public static final ECSSNodeType KEYFRAMESIDENTIFIER
public static final ECSSNodeType KEYFRAMESSELECTOR
public static final ECSSNodeType SINGLEKEYFRAMESELECTOR
public static final ECSSNodeType VIEWPORTRULE
public static final ECSSNodeType NAMESPACERULE
public static final ECSSNodeType NAMESPACERULEPREFIX
public static final ECSSNodeType NAMESPACERULEURL
public static final ECSSNodeType SUPPORTSRULE
public static final ECSSNodeType SUPPORTSCONDITION
public static final ECSSNodeType SUPPORTSCONDITIONOPERATOR
public static final ECSSNodeType SUPPORTSNEGATION
public static final ECSSNodeType SUPPORTSCONDITIONINPARENS
public static final ECSSNodeType ERROR_SKIPTO
public static ECSSNodeType[] values()
for (ECSSNodeType c : ECSSNodeType.values()) System.out.println(c);
public static ECSSNodeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isNode(@Nonnull CSSNode aParserNode, @Nonnull ECSSVersion eVersion)
this type.aParserNode - The parser node to be checked.eVersion - The desired version.true if this is the type of the passed
parser node in the given version@Nonnull @Nonempty public static String getDump(@Nonnull CSSNode aParserNode, @Nonnull ECSSVersion eVersion)
public static boolean isErrorNode(@Nonnull CSSNode aParserNode, @Nonnull ECSSVersion eVersion)
Copyright © 2014–2022 Philip Helger. All rights reserved.