public class CSSNode extends Object implements Node, com.helger.commons.collection.impl.ICommonsIterable<CSSNode>, com.helger.commons.traits.IGetterDirectTrait
| Constructor and Description |
|---|
CSSNode(int nType) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendText(String sText) |
void |
dump(String sPrefix) |
int |
getId() |
int |
getNodeType() |
CSSSourceLocation |
getSourceLocation() |
String |
getText() |
Object |
getValue() |
boolean |
hasText() |
Iterator<CSSNode> |
iterator() |
void |
jjtAddChild(Node aNode,
int nIndex)
Called from the highest index to the lowest index!
|
void |
jjtClose()
This method is called after all the child nodes have been
added.
|
CSSNode |
jjtGetChild(int nIndex)
This method returns a child node.
|
Token |
jjtGetFirstToken() |
Token |
jjtGetLastToken() |
int |
jjtGetNumChildren()
Return the number of children the node has.
|
Node |
jjtGetParent() |
void |
jjtOpen()
This method is called after the node has been made the current
node.
|
void |
jjtSetFirstToken(Token aFirstToken) |
void |
jjtSetLastToken(Token aLastToken) |
void |
jjtSetParent(Node aNode)
This pair of methods are used to inform the node of its
parent.
|
void |
setText(String sText) |
void |
setValue(Object aValue) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstMapped, findFirstMapped, forEach, forEachBreakable, forEachByIndex, getCount, getCountforEach, spliteratorgetAsBigDecimal, getAsBigDecimal, getAsBigInteger, getAsBigInteger, getAsBoolean, getAsBoolean, getAsBooleanObj, getAsByte, getAsByte, getAsByteArray, getAsByteObj, getAsChar, getAsChar, getAsCharArray, getAsCharArray, getAsCharObj, getAsDouble, getAsDouble, getAsDoubleObj, getAsFloat, getAsFloat, getAsFloatObj, getAsInt, getAsInt, getAsIntObj, getAsLocalDate, getAsLocalDate, getAsLocalDateTime, getAsLocalDateTime, getAsLocalTime, getAsLocalTime, getAsLong, getAsLong, getAsLongObj, getAsShort, getAsShort, getAsShortObj, getAsSqlBlob, getAsSqlClob, getAsSqlDate, getAsSqlNClob, getAsSqlRowId, getAsSqlTime, getAsSqlTimestamp, getAsString, getAsString, getCastedValue, getCastedValue, getCastedValue, getCastedValue, getConvertedValue, getConvertedValue, getValueClass, hasNoValue, hasValuepublic void jjtOpen()
Nodepublic void jjtClose()
Nodepublic void jjtSetParent(@Nullable Node aNode)
NodejjtSetParent in interface Node@Nullable public Node jjtGetParent()
jjtGetParent in interface Nodepublic void jjtAddChild(Node aNode, int nIndex)
jjtAddChild in interface Nodepublic CSSNode jjtGetChild(int nIndex)
NodejjtGetChild in interface Node@Nonnegative public int jjtGetNumChildren()
NodejjtGetNumChildren in interface Node@Nullable public Object getValue()
getValue in interface com.helger.commons.traits.IGetterDirectTraitpublic boolean hasText()
public int getNodeType()
@Nullable public CSSSourceLocation getSourceLocation()
null if
neither begin token nor end token is present.Copyright © 2014–2018 Philip Helger. All rights reserved.