public class XmlTagPattern<Self extends XmlTagPattern<Self>> extends XmlNamedElementPattern<XmlTag,Self>
| Modifier and Type | Class and Description |
|---|---|
static class |
XmlTagPattern.Capture |
XmlNamedElementPattern.XmlAttributePatternXmlElementPattern.XmlEntityRefPattern, XmlElementPattern.XmlTextPattern| Modifier | Constructor and Description |
|---|---|
protected |
XmlTagPattern() |
protected |
XmlTagPattern(InitialPatternCondition<XmlTag> condition) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getLocalName(XmlTag tag) |
protected java.lang.String |
getNamespace(XmlTag tag) |
Self |
isFirstSubtag(ElementPattern pattern) |
Self |
withAnyAttribute(java.lang.String... attributeNames) |
Self |
withAttributeValue(java.lang.String attributeName,
java.lang.String attributeValue) |
Self |
withDescriptor(ElementPattern<? extends PsiMetaData> metaDataPattern) |
Self |
withFirstSubTag(ElementPattern<? extends XmlTag> pattern) |
Self |
withoutAttributeValue(java.lang.String attributeName,
java.lang.String attributeValue) |
Self |
withSubTags(ElementPattern<? extends java.util.Collection<XmlTag>> pattern) |
withLocalName, withLocalName, withLocalName, withNamespace, withNamespace, withNamespaceafterLeaf, 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, withTreeParentafterSibling, afterSiblingSkipping, inside, inside, inside, inside, insideSequence, isFirstAcceptedChild, withAncestor, withChild, withChildren, withFirstChild, withLastChild, withParent, withParent, withParents, withSuperParent, withSuperParentprotected XmlTagPattern()
protected XmlTagPattern(InitialPatternCondition<XmlTag> condition)
protected java.lang.String getLocalName(XmlTag tag)
getLocalName in class XmlNamedElementPattern<XmlTag,Self extends XmlTagPattern<Self>>protected java.lang.String getNamespace(XmlTag tag)
getNamespace in class XmlNamedElementPattern<XmlTag,Self extends XmlTagPattern<Self>>public Self withAttributeValue(java.lang.String attributeName, java.lang.String attributeValue)
public Self withAnyAttribute(java.lang.String... attributeNames)
public Self withDescriptor(ElementPattern<? extends PsiMetaData> metaDataPattern)
public Self isFirstSubtag(ElementPattern pattern)
public Self withFirstSubTag(ElementPattern<? extends XmlTag> pattern)
public Self withSubTags(ElementPattern<? extends java.util.Collection<XmlTag>> pattern)
public Self withoutAttributeValue(java.lang.String attributeName, java.lang.String attributeValue)