public abstract class TextElement extends Object implements TextElementMatcher
Constructor and Description |
---|
TextElement() |
Modifier and Type | Method and Description |
---|---|
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 |
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 final boolean isWhiteSpaceOrComment()
Copyright © 2007–2018. All rights reserved.