Class LeafCGINPointer

    • 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 LeafCGINPointer​(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name)
      Creates a pointer for a leaf with the given name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isCollection()
      Determines whether this pointer refers to a collection.
      boolean isLeaf()
      Determines whether this pointer refers to a leaf.
      • Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer

        asPath, attributeIterator, childIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, escape, getAbstractFactory, getDefaultNamespaceURI, getImmediateNode, 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, setValue, testNode, toString
    • Constructor Detail

      • LeafCGINPointer

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

      • isCollection

        public boolean isCollection()
        Determines whether this pointer refers to a collection.
        Specified by:
        isCollection in class org.apache.commons.jxpath.ri.model.NodePointer
        Returns:
        false
      • isLeaf

        public boolean isLeaf()
        Determines whether this pointer refers to a leaf.
        Specified by:
        isLeaf in class org.apache.commons.jxpath.ri.model.NodePointer
        Returns:
        true