Class NamedIntegerPointer

    • Field Summary

      • Fields inherited from class org.apache.commons.jxpath.ri.model.NodePointer

        index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected NamedIntegerPointer​(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, NamedInteger object)
      Creates a pointer to the given NamedInteger.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.commons.jxpath.ri.model.NodeIterator childIterator​(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
      Gets an iterator that visits the views of this NamedInteger that pass the given test, in the given order, starting from the given field.
      Object getImmediateNode()
      Gets the NamedInteger.
      void setValue​(Object value)
      Sets this pointer so that it refers to the given NamedInteger.
      • Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer

        asPath, attributeIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, escape, getAbstractFactory, getDefaultNamespaceURI, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNamespaceURI, getNode, getNodeSetByKey, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValue, getValuePointer, isActual, isAttribute, isContainer, isDefaultNamespace, isLanguage, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, setAttribute, setIndex, setNamespaceResolver, testNode, toString
    • Constructor Detail

      • NamedIntegerPointer

        protected NamedIntegerPointer​(org.apache.commons.jxpath.ri.model.NodePointer parent,
                                      org.apache.commons.jxpath.ri.QName name,
                                      NamedInteger object)
        Creates a pointer to the given NamedInteger.
        Parameters:
        parent - pointer to the surrounding node
        name - name of the new node
        object - value of the new node
    • Method Detail

      • childIterator

        public org.apache.commons.jxpath.ri.model.NodeIterator childIterator​(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest,
                                                                             boolean reverse,
                                                                             org.apache.commons.jxpath.ri.model.NodePointer startWith)
        Gets an iterator that visits the views of this NamedInteger that pass the given test, in the given order, starting from the given field. The views are byteValue, shortValue, intValue, longValue, floatValue and doubleValue.
        Overrides:
        childIterator in class org.apache.commons.jxpath.ri.model.NodePointer
        Parameters:
        nodeTest - test that view must pass to be visited by the iterator
        reverse - order in which to visit views
        startWith - view at which to start
        Returns:
        NodeIterator
      • getImmediateNode

        public Object getImmediateNode()
        Gets the NamedInteger.
        Specified by:
        getImmediateNode in class org.apache.commons.jxpath.ri.model.NodePointer
        Returns:
        Object
      • setValue

        public void setValue​(Object value)
        Sets this pointer so that it refers to the given NamedInteger.
        Specified by:
        setValue in interface org.apache.commons.jxpath.Pointer
        Specified by:
        setValue in class org.apache.commons.jxpath.ri.model.NodePointer
        Parameters:
        value - Object