com.ebmwebsourcing.easybox.impl
Class AbstractXmlObjectNodeImpl<Model extends com.ebmwebsourcing.easybox.api.ModelObject>

java.lang.Object
  extended by com.ebmwebsourcing.easybox.impl.AbstractXmlObjectNodeImpl<Model>
All Implemented Interfaces:
com.ebmwebsourcing.easybox.api.XmlObjectNode, java.lang.Comparable<com.ebmwebsourcing.easybox.api.XmlObjectNode>
Direct Known Subclasses:
AbstractXmlObjectImpl

public abstract class AbstractXmlObjectNodeImpl<Model extends com.ebmwebsourcing.easybox.api.ModelObject>
extends java.lang.Object
implements com.ebmwebsourcing.easybox.api.XmlObjectNode


Field Summary
 
Fields inherited from interface com.ebmwebsourcing.easybox.api.XmlObjectNode
EMPTY_ARRAY
 
Constructor Summary
protected AbstractXmlObjectNodeImpl(com.ebmwebsourcing.easybox.api.XmlContext xmlContext, Model modelObject)
           
 
Method Summary
 int compareTo(com.ebmwebsourcing.easybox.api.XmlObjectNode other)
           
protected abstract  Model createCompliantModel()
           
abstract  boolean equals(java.lang.Object obj)
           
 Model getModelObject()
           
 java.lang.Object getUserData()
           
 com.ebmwebsourcing.easybox.api.XmlContext getXmlContext()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectAdoptedChildren()
           
 com.ebmwebsourcing.easybox.api.XmlObject[] getXmlObjectAncestors()
           
 java.lang.Integer[] getXmlObjectBaseIndexes()
           
 com.ebmwebsourcing.easybox.api.XmlObject getXmlObjectBaseRoot()
           
 java.lang.String getXmlObjectBaseXPath()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectChildren()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectDescendants()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectFollowing()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode getXmlObjectFollowingSibling()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectFollowingSiblings()
           
 int getXmlObjectIndex()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectNaturalChildren()
           
 com.ebmwebsourcing.easybox.api.XmlObject getXmlObjectParent()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectPreceding()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectPrecedingOrAncestor()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode getXmlObjectPrecedingSibling()
           
 com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectPrecedingSiblings()
           
 com.ebmwebsourcing.easybox.api.XmlObject getXmlObjectRoot()
           
 java.lang.String getXmlObjectTextContent()
           
 int hashCode()
           
 boolean hasUserData()
           
protected  void onAdoptiveParentChange(com.ebmwebsourcing.easybox.api.XmlObject parent)
           
protected  void onNaturalParentChange(com.ebmwebsourcing.easybox.api.XmlObject parent)
           
protected  void setModelObject(Model modelObject)
           
 void setUserData(java.lang.Object userData)
           
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.easybox.api.XmlObjectNode
getXmlObjectBaseURI, getXmlObjectQName, getXmlObjectValue
 

Constructor Detail

AbstractXmlObjectNodeImpl

protected AbstractXmlObjectNodeImpl(com.ebmwebsourcing.easybox.api.XmlContext xmlContext,
                                    Model modelObject)
Method Detail

getXmlContext

public final com.ebmwebsourcing.easybox.api.XmlContext getXmlContext()

getModelObject

public Model getModelObject()

setModelObject

protected final void setModelObject(Model modelObject)

createCompliantModel

protected abstract Model createCompliantModel()

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public abstract boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getXmlObjectBaseIndexes

public java.lang.Integer[] getXmlObjectBaseIndexes()
Specified by:
getXmlObjectBaseIndexes in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectBaseXPath

public final java.lang.String getXmlObjectBaseXPath()
Specified by:
getXmlObjectBaseXPath in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectBaseRoot

public final com.ebmwebsourcing.easybox.api.XmlObject getXmlObjectBaseRoot()
Specified by:
getXmlObjectBaseRoot in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectIndex

public final int getXmlObjectIndex()
Specified by:
getXmlObjectIndex in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectFollowingSibling

public final com.ebmwebsourcing.easybox.api.XmlObjectNode getXmlObjectFollowingSibling()
Specified by:
getXmlObjectFollowingSibling in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectPrecedingSibling

public final com.ebmwebsourcing.easybox.api.XmlObjectNode getXmlObjectPrecedingSibling()
Specified by:
getXmlObjectPrecedingSibling in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectAncestors

public final com.ebmwebsourcing.easybox.api.XmlObject[] getXmlObjectAncestors()
Specified by:
getXmlObjectAncestors in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectDescendants

public final com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectDescendants()
Specified by:
getXmlObjectDescendants in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectParent

public final com.ebmwebsourcing.easybox.api.XmlObject getXmlObjectParent()
Specified by:
getXmlObjectParent in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectFollowing

public final com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectFollowing()
Specified by:
getXmlObjectFollowing in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectFollowingSiblings

public final com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectFollowingSiblings()
Specified by:
getXmlObjectFollowingSiblings in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectPrecedingSiblings

public final com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectPrecedingSiblings()
Specified by:
getXmlObjectPrecedingSiblings in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectPreceding

public final com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectPreceding()
Specified by:
getXmlObjectPreceding in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectPrecedingOrAncestor

public final com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectPrecedingOrAncestor()
Specified by:
getXmlObjectPrecedingOrAncestor in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectRoot

public final com.ebmwebsourcing.easybox.api.XmlObject getXmlObjectRoot()
Specified by:
getXmlObjectRoot in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

compareTo

public final int compareTo(com.ebmwebsourcing.easybox.api.XmlObjectNode other)
Specified by:
compareTo in interface java.lang.Comparable<com.ebmwebsourcing.easybox.api.XmlObjectNode>

toString

public abstract java.lang.String toString()
Overrides:
toString in class java.lang.Object

onNaturalParentChange

protected void onNaturalParentChange(com.ebmwebsourcing.easybox.api.XmlObject parent)

onAdoptiveParentChange

protected void onAdoptiveParentChange(com.ebmwebsourcing.easybox.api.XmlObject parent)

getXmlObjectChildren

public com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectChildren()
Specified by:
getXmlObjectChildren in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getXmlObjectNaturalChildren

public com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectNaturalChildren()

getXmlObjectAdoptedChildren

public com.ebmwebsourcing.easybox.api.XmlObjectNode[] getXmlObjectAdoptedChildren()

getXmlObjectTextContent

public java.lang.String getXmlObjectTextContent()
Specified by:
getXmlObjectTextContent in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

hasUserData

public final boolean hasUserData()
Specified by:
hasUserData in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

getUserData

public java.lang.Object getUserData()
Specified by:
getUserData in interface com.ebmwebsourcing.easybox.api.XmlObjectNode

setUserData

public void setUserData(java.lang.Object userData)
Specified by:
setUserData in interface com.ebmwebsourcing.easybox.api.XmlObjectNode


Copyright © 2011 Petals Link. All Rights Reserved.