Package | Description |
---|---|
org.tinygroup.parser | |
org.tinygroup.parser.filter |
Modifier and Type | Method and Description |
---|---|
NodeFilter |
NodeFilter.clearCondition()
清除过滤条件
|
NodeFilter |
NodeFilter.setExcludeAttribute(Map<String,String> excludeAttribute)
设置必须排除的属性及对应属性值 如果包含属性,但属性的值与Map中不相同,允许存在该属性 若包含属性且属性的值与Map中相同,则不允许存在该属性
|
NodeFilter |
NodeFilter.setExcludeAttribute(String... excludeAttribute)
设置必须排除的属性,指定的属性不能存在
|
NodeFilter |
NodeFilter.setExcludeByNode(String... excludeByNode)
设置父节点不允许的节点名称
|
NodeFilter |
NodeFilter.setExcludeNode(String... excludeNode)
设置必须排除的子节点
|
NodeFilter |
NodeFilter.setExcludeText(String... excludeText)
设置必须排除的内容
|
NodeFilter |
NodeFilter.setIncludeAttribute(Map<String,String> includeAttributes)
设置必须包含的属性及对应属性的值,必须存在
|
NodeFilter |
NodeFilter.setIncludeAttribute(String key,
String value)
设置必须包含的属性及对应的属性的值,必须存在
|
NodeFilter |
NodeFilter.setIncludeAttributes(String... includeAttribute)
设置必须包含的属性
|
NodeFilter |
NodeFilter.setIncludeByNode(String... includeByNode)
设置父节点必须包含的节点名称
|
NodeFilter |
NodeFilter.setIncludeNode(String... includeNode)
设置必须包含的子节点
|
NodeFilter |
NodeFilter.setIncludeText(String... includeText)
设置必须包含的内容,只需要context中包include该值就行
|
NodeFilter |
NodeFilter.setNodeName(String nodeName)
设置要搜索的节点名称
|
NodeFilter |
NodeFilter.setXorProperties(String... xorProperties)
设置至少包含一个指定名称属性
|
NodeFilter |
NodeFilter.setXorSubNode(String... xorSubNode)
设置至少包含一个指定名称的节点
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilterImpl<T extends Node<T>> |
class |
FastNameFilter<T extends Node<T>> |
class |
NameFilter<T extends Node<T>>
根据名字进行过滤
|
class |
PathFilter<T extends Node<T>>
根据路径进行过滤
|
class |
QuickNameFilter<T extends Node<T>> |
Modifier and Type | Method and Description |
---|---|
NodeFilter |
AbstractFilterImpl.clearCondition() |
NodeFilter |
AbstractFilterImpl.setExcludeAttribute(Map<String,String> excludeAttribute) |
NodeFilter |
AbstractFilterImpl.setExcludeAttribute(String... excludeAttribute) |
NodeFilter |
AbstractFilterImpl.setExcludeByNode(String... excludeByNode) |
NodeFilter |
AbstractFilterImpl.setExcludeNode(String... excludeNode) |
NodeFilter |
AbstractFilterImpl.setExcludeText(String... excludeText) |
NodeFilter |
AbstractFilterImpl.setIncludeAttribute(Map<String,String> includeAttribute) |
NodeFilter |
AbstractFilterImpl.setIncludeAttribute(String key,
String value) |
NodeFilter |
AbstractFilterImpl.setIncludeAttributes(String... includeAttribute) |
NodeFilter |
AbstractFilterImpl.setIncludeByNode(String... includeByNode) |
NodeFilter |
AbstractFilterImpl.setIncludeNode(String... includeNode) |
NodeFilter |
AbstractFilterImpl.setIncludeText(String... includeText) |
NodeFilter |
AbstractFilterImpl.setNodeName(String nodeName) |
NodeFilter |
AbstractFilterImpl.setXorProperties(String... xorProperties) |
NodeFilter |
AbstractFilterImpl.setXorSubNode(String... xorSubNode) |
Copyright © 2006–2018 TinyGroup. All rights reserved.