biz.c24.io.api.data
Class DocumentRoot

java.lang.Object
  extended by biz.c24.io.api.data.ComplexDataObject
      extended by biz.c24.io.api.data.DocumentRoot
All Implemented Interfaces:
Serializable, Cloneable

public class DocumentRoot
extends ComplexDataObject

See Also:
Serialized Form

Constructor Summary
DocumentRoot()
           
DocumentRoot(DocumentRoot clone)
           
DocumentRoot(Element definingElementDecl)
           
 
Method Summary
 DocumentRoot getDocumentRoot()
          Returns the document root of this object hierarchy if one is present.
 ComplexDataObject getRoot()
          Returns the root of this object hierarchy.
 Object getRootElement()
          Returns the populated root object.
 Element getRootElementDecl()
          Returns the meta-data element declaration for the populated root object.
protected  String getTargetNamespace()
           
 
Methods inherited from class biz.c24.io.api.data.ComplexDataObject
addAttrDecl, addAttrDecl, addComment, addElement, addElementDecl, addElementDecl, addNamespaceMapping, addValidationListener, clear, clearAttrs, clearClientProperties, clearContent, clearElements, clientPropertyKeysIterator, clone, cloneDeep, containsAttrDecl, containsChild, containsElementDecl, createContentObject, equalContents, equals, getActualValidationMechanism, getAttr, getAttrDecl, getAttrDecl, getAttrDeclCount, getAttrDeclIndex, getChild, getChildCount, getChildDeclIndex, getChildIndex, getClientProperty, getComment, getCommentCount, getContent, getDefiningElementDecl, getElement, getElement, getElementCount, getElementDecl, getElementDecl, getElementDecl, getElementDeclCount, getElementDeclIndex, getElementIndex, getElements, getIdKey, getLog, getMixedContent, getMixedContentCount, getModel, getName, getNamespaceMapping, getNamespaceMappingCount, getNamespaceMappingForPrefix, getNamespaceMappingForUri, getNamespaceMappings, getParent, getProcessingInstruction, getQualifiedName, getSubstitute, getTotalAttrCount, getTotalElementCount, getType, getValidationListeners, getValidationMechanism, hashCode, initAttrsFromType, initElementsFromType, initToMinCardinality, isAttrPresent, isContentAllowed, isMixedContentAllowed, isRoot, locateAncestorOfType, makeSubstitution, processingInstructionTargetsIterator, putClientProperty, putProcessingInstruction, removeAttr, removeClientProperty, removeComment, removeElement, removeElements, removeNamespaceMapping, removeProcessingInstruction, removeValidationListener, setAttr, setChild, setComment, setContent, setDefiningElementDecl, setDefiningElementDecl, setElement, setElements, setIdKey, setMixedContent, setName, setNamespaceMapping, setOrder, setParent, setParent, setType, setValidationMechanism, toAttrNamesString, toElementNamesString, toString, unmakeSubstitution, validate, validate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentRoot

public DocumentRoot()

DocumentRoot

public DocumentRoot(Element definingElementDecl)

DocumentRoot

public DocumentRoot(DocumentRoot clone)
Method Detail

getRoot

public ComplexDataObject getRoot()
Description copied from class: ComplexDataObject
Returns the root of this object hierarchy.

This will be the ancestor for which getParent() == null.

Overrides:
getRoot in class ComplexDataObject
Returns:
The root.

getDocumentRoot

public DocumentRoot getDocumentRoot()
Description copied from class: ComplexDataObject
Returns the document root of this object hierarchy if one is present.

This will be the ancestor for which getParent() instanceof DocumentRoot.

Overrides:
getDocumentRoot in class ComplexDataObject
Returns:
The document root or null if this object hierarchy is not rooted within one.

getRootElement

public Object getRootElement()
Returns the populated root object.

This method should be used for navigating into the object hierarchy.

Returns:
The populated object.

getRootElementDecl

public Element getRootElementDecl()
Returns the meta-data element declaration for the populated root object.

Returns:
The element declaration for the populated object.

getTargetNamespace

protected String getTargetNamespace()
Overrides:
getTargetNamespace in class ComplexDataObject


C24 Technologies © 2002-2012: All Rights Reserved.