documentobject-ag凯发旗舰厅



com.spire.doc
class documentobject

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.documentobject
all implemented interfaces:
idocumentobject
direct known subclasses:
documentbase

public abstract class documentobject
extends documentserializable
implements idocumentobject

method summary
 documentobject deepclone()
          creates a duplicate of the document object.
abstract  documentobjectcollection getchildobjects()
          gets the child objects of the entity.
abstract  documentobjecttype getdocumentobjecttype()
          gets the type of the document object.
 documentobject getfirstchild()
          gets the first child of the element.
 documentobject getlastchild()
          gets the last child of the element.
 idocumentobject getnextsibling()
          gets the next sibling.
 documentobject getowner()
          gets the owner of this entity.
 idocumentobject getprevioussibling()
          gets the previous sibling.
 boolean iscomposite()
          indicating whether this instance is composite.
 java.lang.string tostring(java.lang.string seperator)
          exports the name and index in container of the object into a string in the specified seperator.
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
getdocument
 
method detail

getchildobjects

public abstract documentobjectcollection getchildobjects()
gets the child objects of the entity.
returns:
documentobjectcollection

getdocumentobjecttype

public abstract documentobjecttype getdocumentobjecttype()
gets the type of the document object.
specified by:
getdocumentobjecttype in interface idocumentobject
returns:
the type of the document object.

getowner

public documentobject getowner()
gets the owner of this entity.
specified by:
getowner in interface idocumentobject
returns:
documentobject

getprevioussibling

public idocumentobject getprevioussibling()
gets the previous sibling.
specified by:
getprevioussibling in interface idocumentobject
returns:
idocumentobject

getnextsibling

public idocumentobject getnextsibling()
gets the next sibling.
specified by:
getnextsibling in interface idocumentobject
returns:
the next sibling.

iscomposite

public boolean iscomposite()
indicating whether this instance is composite.
specified by:
iscomposite in interface idocumentobject
returns:
if this instance is composite, return true

getfirstchild

public documentobject getfirstchild()
gets the first child of the element.
returns:
if there is no first child element, a null is returned.

getlastchild

public documentobject getlastchild()
gets the last child of the element.
returns:
if there is no last child element, a null is returned.

deepclone

public documentobject deepclone()
creates a duplicate of the document object.
specified by:
deepclone in interface idocumentobject
returns:
documentobject

tostring

public java.lang.string tostring(java.lang.string seperator)
exports the name and index in container of the object into a string in the specified seperator.
parameters:
seperator -
returns:
string


网站地图