getOrderedChildren();
/**
* Gets the parent of this element or null if there is no parent.
*
* @return the parent of this element or null
*/
public XMLObject getParent();
/**
* Gets the value of the XML Schema schemaLocation attribute for this object.
*
* @return schema location defined for this object
*/
public String getSchemaLocation();
/**
* Gets the XML schema type of this element. This translates to contents the xsi:type attribute for the element.
*
* @return XML schema type of this element
*/
public QName getSchemaType();
/**
* Checks if this XMLObject has children.
*
* @return true if this XMLObject has children, false if not
*/
public boolean hasChildren();
/**
* Checks to see if this object has a parent.
*
* @return true if the object has a parent, false if not
*/
public boolean hasParent();
/**
* Releases the DOM representation of this XMLObject's children.
*
* @param propagateRelease true if all descendants of this element should release their DOM
*/
public void releaseChildrenDOM(boolean propagateRelease);
/**
* Releases the DOM representation of this XMLObject, if there is one.
*/
public void releaseDOM();
/**
* Releases the DOM representation of this XMLObject's parent.
*
* @param propagateRelease true if all ancestors of this element should release their DOM
*/
public void releaseParentDOM(boolean propagateRelease);
/**
* Removes a namespace from this element.
*
* @deprecated use appropriate methods on the XMLObject's {@link NamespaceManager}.
*
* @param namespace the namespace to remove
*/
public void removeNamespace(Namespace namespace);
/**
* Find the XMLObject which is identified by the specified ID attribute, within the subtree of XMLObjects which has
* this XMLObject as its root.
*
* @param id the ID attribute to resolve to an XMLObject
* @return the XMLObject identified by the specified ID attribute value
*/
public XMLObject resolveID(String id);
/**
* Find the XMLObject which is identified by the specified ID attribute, from the root of the tree of XMLObjects in
* which this XMLObject is a member.
*
* @param id the ID attribute to resolve to an XMLObject
* @return the XMLObject identified by the specified ID attribute value
*/
public XMLObject resolveIDFromRoot(String id);
/**
* Sets the DOM representation of this XMLObject.
*
* @param dom DOM representation of this XMLObject
*/
public void setDOM(Element dom);
/**
* Sets the value of the XML Schema noNamespaceSchemaLocation attribute for this object.
*
* @param location value of the XML Schema noNamespaceSchemaLocation attribute for this object
*/
public void setNoNamespaceSchemaLocation(String location);
/**
* Sets the parent of this element.
*
* @param parent the parent of this element
*/
public void setParent(XMLObject parent);
/**
* Sets the value of the XML Schema schemaLocation attribute for this object.
*
* @param location value of the XML Schema schemaLocation attribute for this object
*/
public void setSchemaLocation(String location);
/**
* Gets whether the object declares that its element content
* is null, which corresponds to an xsi:nil
* attribute of true
.
*
*
* Note that it is up to the developer to ensure that the
* value of this attribute is consistent with the actual
* element content on the object instance.
*
*
*
* Per the XML Schema specification, a value of true disallows
* element content, but not element attributes.
*
*
* @see
*
* @return whether the object's content model is null
*/
public Boolean isNil();
/**
*
* Gets whether the object declares that its element content
* is null, which corresponds to an xsi:nil
* attribute of true
.
*
*
* Note that it is up to the developer to ensure that the
* value of this attribute is consistent with the actual
* element content on the object instance.
*
*
*
* Per the XML Schema specification, a value of true disallows
* element content, but not element attributes.
*
*
* @see
*
* @param newNil whether the object's content model is expressed as null
*/
public void setNil(Boolean newNil);
/**
* Sets whether the object declares that its element content
* is null, which corresponds to an xsi:nil
* attribute of true
.
*
*
* Note that it is up to the developer to ensure that the
* value of this attribute is consistent with the actual
* element content on the object instance.
*
*
*
* Per the XML Schema specification, a value of true disallows
* element content, but not element attributes.
*
*
* @see