public abstract class TextElement extends Object implements TextElementMatcher
Constructor and Description |
---|
TextElement() |
Modifier and Type | Method and Description |
---|---|
boolean |
isChild() |
abstract boolean |
isChildOfClass(Class<? extends Node> nodeClass)
Is this TextElement representing a child of the given class?
|
abstract boolean |
isComment() |
abstract boolean |
isNewline() |
abstract boolean |
isSeparator() |
abstract boolean |
isSpaceOrTab() |
abstract boolean |
isWhiteSpace() |
boolean |
isWhiteSpaceOrComment() |
boolean |
match(TextElement textElement) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and
public boolean match(TextElement textElement)
match
in interface TextElementMatcher
public abstract boolean isWhiteSpace()
public abstract boolean isSpaceOrTab()
public abstract boolean isNewline()
public abstract boolean isComment()
public abstract boolean isSeparator()
public final boolean isWhiteSpaceOrComment()
public abstract boolean isChildOfClass(Class<? extends Node> nodeClass)
public boolean isChild()
Copyright © 2007–2019. All rights reserved.