public class DomElementPattern<T extends DomElement,Self extends DomElementPattern<T,Self>> extends TreeElementPattern<DomElement,T,Self>
Modifier and Type | Class and Description |
---|---|
static class |
DomElementPattern.Capture<T extends DomElement> |
Modifier | Constructor and Description |
---|---|
protected |
DomElementPattern(java.lang.Class<T> aClass) |
protected |
DomElementPattern(InitialPatternCondition<T> condition) |
Modifier and Type | Method and Description |
---|---|
protected DomElement[] |
getChildren(DomElement domElement) |
protected DomElement |
getParent(DomElement t) |
Self |
withChild(java.lang.String localName,
ElementPattern pattern) |
afterSibling, afterSiblingSkipping, inside, inside, inside, inside, insideSequence, isFirstAcceptedChild, withAncestor, withChild, withChildren, withFirstChild, withLastChild, withParent, withParent, withParents, withSuperParent, withSuperParent
protected DomElementPattern(java.lang.Class<T> aClass)
protected DomElementPattern(InitialPatternCondition<T> condition)
protected DomElement getParent(DomElement t)
getParent
in class TreeElementPattern<DomElement,T extends DomElement,Self extends DomElementPattern<T,Self>>
protected DomElement[] getChildren(DomElement domElement)
getChildren
in class TreeElementPattern<DomElement,T extends DomElement,Self extends DomElementPattern<T,Self>>
public Self withChild(java.lang.String localName, ElementPattern pattern)