public class XPath2FilterContainer extends ElementProxy implements TransformParam
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_TAG_XPATH2
Field _TAG_XPATH2
|
static java.lang.String |
INTERSECT
Field INTERSECT
|
static java.lang.String |
SUBTRACT
Field SUBTRACT
|
static java.lang.String |
UNION
Field UNION
|
static java.lang.String |
XPathFilter2NS
Field XPathFiler2NS
|
baseURI, constructionElement, doc, log
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseLocalName()
Method getBaseLocalName
|
java.lang.String |
getBaseNamespace()
Method getBaseNamespace
|
java.lang.String |
getXPathFilterStr()
Returns the XPath 2 Filter String
|
org.w3c.dom.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(org.w3c.dom.Element element,
java.lang.String BaseURI)
Creates a XPath2FilterContainer from an existing Element; needed for verification.
|
static XPath2FilterContainer |
newInstanceIntersect(org.w3c.dom.Document doc,
java.lang.String xpath2filter)
Creates a new XPath2FilterContainer with the filter type "intersect".
|
static org.w3c.dom.NodeList |
newInstances(org.w3c.dom.Document doc,
java.lang.String[][] params)
Method newInstances
|
static XPath2FilterContainer |
newInstanceSubtract(org.w3c.dom.Document doc,
java.lang.String xpath2filter)
Creates a new XPath2FilterContainer with the filter type "subtract".
|
static XPath2FilterContainer |
newInstanceUnion(org.w3c.dom.Document doc,
java.lang.String xpath2filter)
Creates a new XPath2FilterContainer with the filter type "union".
|
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext
public static final java.lang.String INTERSECT
public static final java.lang.String SUBTRACT
public static final java.lang.String UNION
public static final java.lang.String _TAG_XPATH2
public static final java.lang.String XPathFilter2NS
public static XPath2FilterContainer newInstanceIntersect(org.w3c.dom.Document doc, java.lang.String xpath2filter)
doc
- xpath2filter
- public static XPath2FilterContainer newInstanceSubtract(org.w3c.dom.Document doc, java.lang.String xpath2filter)
doc
- xpath2filter
- public static XPath2FilterContainer newInstanceUnion(org.w3c.dom.Document doc, java.lang.String xpath2filter)
doc
- xpath2filter
- public static org.w3c.dom.NodeList newInstances(org.w3c.dom.Document doc, java.lang.String[][] params)
doc
- params
- public static XPath2FilterContainer newInstance(org.w3c.dom.Element element, java.lang.String BaseURI) throws XMLSecurityException
element
- BaseURI
- XMLSecurityException
public 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 java.lang.String getXPathFilterStr()
public org.w3c.dom.Node getXPathFilterTextNode()
public final java.lang.String getBaseLocalName()
getBaseLocalName
in class ElementProxy
public final java.lang.String getBaseNamespace()
getBaseNamespace
in class ElementProxy