Class XmlAttributeNodePointer

  • All Implemented Interfaces:
    Serializable, Cloneable, Comparable, Pointer

    public class XmlAttributeNodePointer
    extends NodePointer
    Special node pointer for an XML-attribute inside an attribute.
    Author:
    Niels Charlier (Curtin University of Technology)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class NodePointer

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareChildNodePointers​(NodePointer arg0, NodePointer arg1)  
      Object getBaseValue()  
      Object getImmediateNode()  
      int getLength()  
      QName getName()  
      boolean isAttribute()  
      boolean isCollection()  
      boolean isLeaf()  
      void setValue​(Object value)  
      • Methods inherited from class NodePointer

        asPath, attributeIterator, childIterator, 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, isContainer, isDefaultNamespace, isLanguage, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, setAttribute, setIndex, setNamespaceResolver, testNode, toString
    • Constructor Detail

      • XmlAttributeNodePointer

        protected XmlAttributeNodePointer​(NodePointer parent,
                                          Attribute feature,
                                          Name name)
    • Method Detail

      • isLeaf

        public boolean isLeaf()
        Specified by:
        isLeaf in class NodePointer
      • isCollection

        public boolean isCollection()
        Specified by:
        isCollection in class NodePointer
      • isAttribute

        public boolean isAttribute()
        Overrides:
        isAttribute in class NodePointer
      • getName

        public QName getName()
        Specified by:
        getName in class NodePointer
      • getBaseValue

        public Object getBaseValue()
        Specified by:
        getBaseValue in class NodePointer
      • getImmediateNode

        public Object getImmediateNode()
        Specified by:
        getImmediateNode in class NodePointer
      • setValue

        public void setValue​(Object value)
        Specified by:
        setValue in interface Pointer
        Specified by:
        setValue in class NodePointer
      • compareChildNodePointers

        public int compareChildNodePointers​(NodePointer arg0,
                                            NodePointer arg1)
        Specified by:
        compareChildNodePointers in class NodePointer
      • getLength

        public int getLength()
        Specified by:
        getLength in class NodePointer