public abstract class XmlNamedElementPattern<T extends XmlElement & PsiNamedElement,Self extends XmlNamedElementPattern<T,Self>> extends XmlElementPattern<T,Self>
Modifier and Type | Class and Description |
---|---|
static class |
XmlNamedElementPattern.XmlAttributePattern |
XmlElementPattern.Capture, XmlElementPattern.XmlEntityRefPattern, XmlElementPattern.XmlTextPattern
Constructor and Description |
---|
XmlNamedElementPattern(InitialPatternCondition<T> condition) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getLocalName(T t) |
protected abstract java.lang.String |
getNamespace(T t) |
Self |
withLocalName(ElementPattern<java.lang.String> localName) |
Self |
withLocalName(java.lang.String... localNames) |
Self |
withLocalName(java.lang.String localName) |
Self |
withNamespace(ElementPattern<java.lang.String> namespace) |
Self |
withNamespace(java.lang.String... namespaces) |
Self |
withNamespace(java.lang.String namespace) |
afterLeaf, afterLeaf, afterLeafSkipping, atStartOf, beforeLeaf, beforeLeaf, beforeLeafSkipping, compiled, equalTo, getChildren, getParent, inFile, insideStarting, inVirtualFile, notEmpty, referencing, whitespace, whitespaceCommentEmptyOrError, whitespaceCommentOrError, withElementType, withElementType, withElementType, withFirstNonWhitespaceChild, withLanguage, withLastChildSkipping, withMetaData, withName, withName, withName, withoutText, withoutText, withReference, withText, withText, withTextLength, withTextLengthLongerThan, withTreeParent
afterSibling, afterSiblingSkipping, inside, inside, inside, inside, insideSequence, isFirstAcceptedChild, withAncestor, withChild, withChildren, withFirstChild, withLastChild, withParent, withParent, withParents, withSuperParent, withSuperParent
public XmlNamedElementPattern(InitialPatternCondition<T> condition)
protected abstract java.lang.String getLocalName(T t)
protected abstract java.lang.String getNamespace(T t)
public Self withLocalName(java.lang.String localName)
public Self withLocalName(java.lang.String... localNames)
public Self withLocalName(ElementPattern<java.lang.String> localName)
public Self withNamespace(java.lang.String namespace)
public Self withNamespace(java.lang.String... namespaces)
public Self withNamespace(ElementPattern<java.lang.String> namespace)