Uses of Interface
com.virtualweaver.xotics.datamodel.XoObject

Packages that use XoObject
com.virtualweaver.xotics.datamodel   
com.virtualweaver.xotics.datamodel.event   
 

Uses of XoObject in com.virtualweaver.xotics.datamodel
 

Subinterfaces of XoObject in com.virtualweaver.xotics.datamodel
 interface XoContainer
          This interface must be implemented for every Xotics Object representing an XML element which can have children elements.
 interface XoRoot
          This interface, extending XoContainer, must be implemented by all XO Container which can be root of an XO DM instance tree.
 interface XoText
          Interface implemented by an XO object representing an XML text node.
 interface XoTextContainer
          XoObject implementing this interface is considered as XO Object whose only child is a XML PCDATA text.
 

Classes in com.virtualweaver.xotics.datamodel that implement XoObject
 class XoContainerSupport
          This is a default XoContainer implementation developpers can use, by derivation, to increase productivity when an XoContainer implementation has no requirement to derive from any specific Java object.
 class XoObjectSupport
          This is a default XoObject implementation developpers can use, by derivation, to increase productivity when an XoObject implementation has no requirement to derive from any specific Java object.
 class XoPolymorphWrapper
          This class represents all polymorph implementations of an element.
 class XoTextContainerSupport
          This is a default XoTextContainer implementation developpers can use to increase productivity when an XoTextContainer implementation has no requirement to derive from any specific Java object.
 class XoTextSupport
          This is a default XoText implementation developpers can use to increase productivity when an XoText implementation has no requirement to derive from any specific Java object.
 

Methods in com.virtualweaver.xotics.datamodel that return XoObject
 XoObject XoRegistry.createXoObject(java.lang.String nsref, java.lang.String element)
          Creates a new instance of XO object giving its namespace nsref for param element.
 XoObject XoPolymorphWrapper.getXoPolymorph(java.lang.String type)
          Returns the polymorph object associated with param type string.
 XoObject XoPolymorphWrapper.getDefaultXoPolymorph()
          When no implementation is suitable, this implementation is returned.
 XoObject XoPolymorphWrapper.cloneXoPolymorph(XoPolymorph po)
          Duplicates polymorph and its wrapper (this) and thus other polymorph of this wrapper.
 XoObject XoContainerSupport.getXoChildren(int index)
           
 XoObject[] XoContainerSupport.getXoChildren()
           
 XoObject XoContainerSupport.removeXoChild(int index)
           
static XoObject XoUtilities.addChild(XoRegistry reg, XoObject child, XoContainer parent, int index)
          Use this method to add a child to a parent container not belonging to any DM instance.
static XoObject XoUtilities.addChild(XoRegistry reg, XoObject child, XoContainer parent)
           
static XoObject XoUtilities.getPolymorphObject(XoRegistry registry, XoPolymorphWrapper child, XoContainer parent)
          Returns the appropriate XO object implementation held by polymorph wrapper child when added to parent.
 XoObject XoDMInstance.getXoObjectById(java.lang.String id)
          Returns the registered Xo object having id paameter as ID value.
 XoObject XoDMInstance.cloneXoObject(XoObject xo, boolean deep)
          Clones an XO object belonging to this.
 XoObject XoDMInstance.addChild(XoObject child, XoContainer parent)
          Appends param child to the list of children of param parent.
 XoObject XoDMInstance.addChild(XoObject child, XoContainer parent, int index)
          Inserts param child to the list of children of param parent at specified index.
 XoObject XoDMInstance.remove(XoObject xo)
          Removes XO object param xo and its sub-tree from this.
 XoObject XoContainer.removeXoChild(int index)
          Removes the child at the index position from the list of children.
 XoObject[] XoContainer.getXoChildren()
          Returns the XO children objects as an XoObject array.
 XoObject XoContainer.getXoChildren(int index)
          Returns the XO child object standing at index position.
 XoObject XoProperty.getOwnerObject()
          Gets the XoObject instance whose property is represented by this
 

Methods in com.virtualweaver.xotics.datamodel with parameters of type XoObject
 boolean XoObjectSupport.equalsXoObject(XoObject xo)
          Checks whether or not this could be equal to xo.
 boolean XoTextContainerSupport.equalsXoObject(XoObject xo)
          Checks whether or not this could be equal to xo.
 java.lang.String XoRegistry.getType(XoObject xo)
          returns the element type of param xo.
 XoCustomizerInfos[] XoRegistry.getCustomizers(XoObject xo)
          return specific customizers usable to edit XO object xo.
 XoProperty[] XoRegistry.getProperties(XoObject xo)
          Returns the list of property wrappers defined for param xo.
 int XoRegistry.getPropertyCount(XoObject xo)
          Returns the number of properties defined for param xo.
 XoProperty XoRegistry.getProperty(XoObject xo, java.lang.String pName)
          Returns the wrapper of property named pName for param xo.
 java.lang.String XoRegistry.getIdName(XoObject xo)
          Returns the ID property name of param xo.
 XoProperty XoRegistry.getPropertyByXml(XoObject xo, java.lang.String xmlName)
          Returns the wrapper of property whose XML attribute equivalent is named xmlName for param xo.
 int XoContainerSupport.addXoChild(XoObject child, int index)
           
 boolean XoContainerSupport.isXoObjectWelcome(XoObject maybeChild, int index)
          This method returns allways true and so should be overriden to perform specific checks
static XoObject XoUtilities.addChild(XoRegistry reg, XoObject child, XoContainer parent, int index)
          Use this method to add a child to a parent container not belonging to any DM instance.
static XoObject XoUtilities.addChild(XoRegistry reg, XoObject child, XoContainer parent)
           
static int XoUtilities.getIndexOfChild(XoObject child)
          Gets index of child object in its parent children list.
static java.lang.String XoUtilities.toString(XoObject xo)
          returns a standard XML string representation of param xo
 int XoDMInstance.getIndexOfChild(XoObject child)
          Returns the index of child in brotherhood.
 void XoDMInstance.checkValidity(XoObject xo, boolean deep)
          Checks validity from XO object xo.
 boolean XoDMInstance.deepEquals(XoObject src, XoObject cmp)
          Checks XO equality of two sub-trees using equalsXoObject(XoObject) method.
 boolean XoDMInstance.contains(XoObject xo)
          Checks whether this contains XO object param xo.
 boolean XoDMInstance.contains(XoObject xo, XoObject container)
          Checks whether XO object param xo is or is descendant of param container.
 boolean XoDMInstance.isWelcome(XoContainer parent, XoObject child, int index)
          This method is the thread-safe version of XoContainer.isXoObjectWelcome(XoObject, int).
 XoObject XoDMInstance.cloneXoObject(XoObject xo, boolean deep)
          Clones an XO object belonging to this.
 XoObject XoDMInstance.addChild(XoObject child, XoContainer parent)
          Appends param child to the list of children of param parent.
 XoObject XoDMInstance.addChild(XoObject child, XoContainer parent, int index)
          Inserts param child to the list of children of param parent at specified index.
 XoObject XoDMInstance.remove(XoObject xo)
          Removes XO object param xo and its sub-tree from this.
 int XoContainer.addXoChild(XoObject child, int index)
          Adds an XO Object as child, at index specified by index param.
 boolean XoContainer.isXoObjectWelcome(XoObject maybeChild, int index)
          This method can be called before adding an XO object to know if it can be added at the specified index.
 boolean XoTextSupport.equalsXoObject(XoObject xo)
          Checks whether or not this could be equal to xo.
 boolean XoObject.equalsXoObject(XoObject xo)
          Checks whether or not this could be equal to xo.
 

Uses of XoObject in com.virtualweaver.xotics.datamodel.event
 

Methods in com.virtualweaver.xotics.datamodel.event that return XoObject
 XoObject XoUndoableEvent.getChild()
          Child object involved in an add or remove change
 XoObject XoUndoableEvent.getPropertyOwner()
          Owner object of property changed
 XoObject XoContainerEvent.getChild()
          Returns the child involved in the add/remove process
 

Constructors in com.virtualweaver.xotics.datamodel.event with parameters of type XoObject
XoUndoableEvent(XoDMInstance source, byte undoablekind, XoContainer parent, XoObject child, int index)
          Constructor used to create an undoable event of type add or remove child
XoUndoableEvent(XoDMInstance source, XoObject xo, java.lang.String pname, java.lang.Object oldvalue, java.lang.Object newvalue)
          Constructor used to create an undoable event of type set property.
XoContainerEvent(XoContainer parent, XoObject child, int index)
          The constructor