org.xiruss.repository.api
Interface XmlStorageObject

All Superinterfaces:
CompoundDocument, RepositoryObject, StorageObject, TextStorageObject, Version
All Known Implementing Classes:
XmlStorageObjectBase, XmlStorageObjectProxy

public interface XmlStorageObject
extends TextStorageObject, CompoundDocument

Represents XML documents. Provides convenience methods for accessing XML-specific properties. In particular, it provides a getDom() method for getting the XML DOM from the storage object's content.


Method Summary
 org.w3c.dom.Document getDom()
          Gets a DOM for the XML contents of the storage object.
 
Methods inherited from interface org.xiruss.repository.api.TextStorageObject
getEncoding, openReader, openWriter
 
Methods inherited from interface org.xiruss.repository.api.StorageObject
canWrite, close, getBytes, getMimeType, getOriginalSystemId, length, openInputStream, openOutputStream, setStorageObjectData
 
Methods inherited from interface org.xiruss.snapcm.api.Version
addDependency, addNextVersion, addPreviousVersion, checkIsNotFixed, collectTargetVersions, dependsOn, dependsOn, getDependencies, getDependenciesByType, getNext, getPrevious, getResource, initialize, initialize, isFixed, setAsFixed, setPrevious
 
Methods inherited from interface org.xiruss.snapcm.api.RepositoryObject
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, isNull, setId, setName, setProperty, toString
 
Methods inherited from interface org.xiruss.repository.api.CompoundDocument
getMemberVersions
 

Method Detail

getDom

org.w3c.dom.Document getDom()
                            throws DomException,
                                   java.io.IOException
Gets a DOM for the XML contents of the storage object.

Returns:
Throws:
DomException
java.io.IOException