public final class XPath2FilterContainer extends ElementProxy implements TransformParam
| Modifier and Type | Field and Description |
|---|---|
static String |
_TAG_XPATH2
Field _TAG_XPATH2
|
static String |
INTERSECT
Field INTERSECT
|
static String |
SUBTRACT
Field SUBTRACT
|
static String |
UNION
Field UNION
|
static String |
XPathFilter2NS
Field XPathFiler2NS
|
baseURI, LOG| Modifier and Type | Method and Description |
|---|---|
String |
getBaseLocalName()
Method getBaseLocalName
|
String |
getBaseNamespace()
Method getBaseNamespace
|
String |
getXPathFilterStr()
Returns the XPath 2 Filter String
|
Node |
getXPathFilterTextNode()
Returns the first Text node which contains information from the XPath 2
Filter String.
|
boolean |
isIntersect()
Returns
true if the Filter attribute has value "intersect". |
boolean |
isSubtract()
Returns
true if the Filter attribute has value "subtract". |
boolean |
isUnion()
Returns
true if the Filter attribute has value "union". |
static XPath2FilterContainer |
newInstance(Element element,
String baseURI)
Creates a XPath2FilterContainer from an existing Element; needed for verification.
|
static XPath2FilterContainer |
newInstanceIntersect(Document doc,
String xpath2filter)
Creates a new XPath2FilterContainer with the filter type "intersect".
|
static NodeList |
newInstances(Document doc,
String[][] params)
Method newInstances
|
static XPath2FilterContainer |
newInstanceSubtract(Document doc,
String xpath2filter)
Creates a new XPath2FilterContainer with the filter type "subtract".
|
static XPath2FilterContainer |
newInstanceUnion(Document doc,
String xpath2filter)
Creates a new XPath2FilterContainer with the filter type "union".
|
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContextpublic static final String INTERSECT
public static final String SUBTRACT
public static final String UNION
public static final String _TAG_XPATH2
public static final String XPathFilter2NS
public static XPath2FilterContainer newInstanceIntersect(Document doc, String xpath2filter)
doc - xpath2filter - public static XPath2FilterContainer newInstanceSubtract(Document doc, String xpath2filter)
doc - xpath2filter - public static XPath2FilterContainer newInstanceUnion(Document doc, String xpath2filter)
doc - xpath2filter - public static NodeList newInstances(Document doc, String[][] params)
doc - params - public static XPath2FilterContainer newInstance(Element element, String baseURI) throws XMLSecurityException
element - baseURI - XMLSecurityExceptionpublic boolean isIntersect()
true if the Filter attribute has value "intersect".true if the Filter attribute has value "intersect".public boolean isSubtract()
true if the Filter attribute has value "subtract".true if the Filter attribute has value "subtract".public boolean isUnion()
true if the Filter attribute has value "union".true if the Filter attribute has value "union".public String getXPathFilterStr()
public Node getXPathFilterTextNode()
public final String getBaseLocalName()
getBaseLocalName in class ElementProxypublic final String getBaseNamespace()
getBaseNamespace in class ElementProxyCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.