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 |
isSpaceOrTab() |
abstract boolean |
isWhiteSpace() |
boolean |
isWhiteSpaceOrComment() |
boolean |
match(TextElement textElement) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandpublic boolean match(TextElement textElement)
match in interface TextElementMatcherpublic abstract boolean isWhiteSpace()
public abstract boolean isSpaceOrTab()
public abstract boolean isNewline()
public abstract boolean isComment()
public final boolean isWhiteSpaceOrComment()
public abstract boolean isChildOfClass(Class<? extends Node> nodeClass)
public boolean isChild()
Copyright © 2007–2019. All rights reserved.