Class XPath2FilterContainer04

    • Field Detail

      • _ATT_FILTER

        private static final java.lang.String _ATT_FILTER
        Field _ATT_FILTER
        See Also:
        Constant Field Values
      • _ATT_FILTER_VALUE_INTERSECT

        private static final java.lang.String _ATT_FILTER_VALUE_INTERSECT
        Field _ATT_FILTER_VALUE_INTERSECT
        See Also:
        Constant Field Values
      • _ATT_FILTER_VALUE_SUBTRACT

        private static final java.lang.String _ATT_FILTER_VALUE_SUBTRACT
        Field _ATT_FILTER_VALUE_SUBTRACT
        See Also:
        Constant Field Values
      • _ATT_FILTER_VALUE_UNION

        private static final java.lang.String _ATT_FILTER_VALUE_UNION
        Field _ATT_FILTER_VALUE_UNION
        See Also:
        Constant Field Values
      • _TAG_XPATH2

        public static final java.lang.String _TAG_XPATH2
        Field _TAG_XPATH2
        See Also:
        Constant Field Values
      • XPathFilter2NS

        public static final java.lang.String XPathFilter2NS
        Field XPathFiler2NS
        See Also:
        Constant Field Values
    • Constructor Detail

      • XPath2FilterContainer04

        private XPath2FilterContainer04()
        Constructor XPath2FilterContainer04
      • XPath2FilterContainer04

        private XPath2FilterContainer04​(org.w3c.dom.Document doc,
                                        java.lang.String xpath2filter,
                                        java.lang.String filterType)
        Constructor XPath2FilterContainer04
        Parameters:
        doc -
        xpath2filter -
        filterType -
      • XPath2FilterContainer04

        private XPath2FilterContainer04​(org.w3c.dom.Element element,
                                        java.lang.String baseURI)
                                 throws XMLSecurityException
        Constructor XPath2FilterContainer04
        Parameters:
        element -
        baseURI -
        Throws:
        XMLSecurityException
    • Method Detail

      • newInstanceIntersect

        public static XPath2FilterContainer04 newInstanceIntersect​(org.w3c.dom.Document doc,
                                                                   java.lang.String xpath2filter)
        Creates a new XPath2FilterContainer04 with the filter type "intersect".
        Parameters:
        doc -
        xpath2filter -
        Returns:
        the instance
      • newInstanceSubtract

        public static XPath2FilterContainer04 newInstanceSubtract​(org.w3c.dom.Document doc,
                                                                  java.lang.String xpath2filter)
        Creates a new XPath2FilterContainer04 with the filter type "subtract".
        Parameters:
        doc -
        xpath2filter -
        Returns:
        the instance
      • newInstanceUnion

        public static XPath2FilterContainer04 newInstanceUnion​(org.w3c.dom.Document doc,
                                                               java.lang.String xpath2filter)
        Creates a new XPath2FilterContainer04 with the filter type "union".
        Parameters:
        doc -
        xpath2filter -
        Returns:
        the instance
      • newInstance

        public static XPath2FilterContainer04 newInstance​(org.w3c.dom.Element element,
                                                          java.lang.String baseURI)
                                                   throws XMLSecurityException
        Creates a XPath2FilterContainer04 from an existing Element; needed for verification.
        Parameters:
        element -
        baseURI -
        Returns:
        the instance
        Throws:
        XMLSecurityException
      • isIntersect

        public boolean isIntersect()
        Returns true if the Filter attribute has value "intersect".
        Returns:
        true if the Filter attribute has value "intersect".
      • isSubtract

        public boolean isSubtract()
        Returns true if the Filter attribute has value "subtract".
        Returns:
        true if the Filter attribute has value "subtract".
      • isUnion

        public boolean isUnion()
        Returns true if the Filter attribute has value "union".
        Returns:
        true if the Filter attribute has value "union".
      • getXPathFilterStr

        public java.lang.String getXPathFilterStr()
        Returns the XPath 2 Filter String
        Returns:
        the XPath 2 Filter String
      • getXPathFilterTextNode

        public org.w3c.dom.Node getXPathFilterTextNode()
        Returns the first Text node which contains information from the XPath 2 Filter String. We must use this stupid hook to enable the here() function to work.
        Returns:
        the first Text node which contains information from the XPath 2 Filter String
      • getBaseLocalName

        public final java.lang.String getBaseLocalName()
        Returns the localname of the Elements of the sub-class.
        Specified by:
        getBaseLocalName in class ElementProxy
        Returns:
        the localname of the Elements of the sub-class.
      • getBaseNamespace

        public final java.lang.String getBaseNamespace()
        Returns the namespace of the Elements of the sub-class.
        Specified by:
        getBaseNamespace in class ElementProxy
        Returns:
        the namespace of the Elements of the sub-class.