|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implmentations of this interface will provide persistance mechanisms
for org.jdom.Document
objects to and from their native
raw formats.
Method Summary | |
org.jdom.Document |
readConfigurationStreamToData(String name,
InputStream in)
Loads a CCLNode object from the given
InputStream . |
void |
writeConfigurationStreamToData(org.jdom.Document document,
OutputStream out)
Stores the raw version of the provided CCLNode
object in the format that this format service implementation
understands. |
Method Detail |
public org.jdom.Document readConfigurationStreamToData(String name, InputStream in) throws ConfigurationFormatException
Loads a CCLNode
object from the given
InputStream
. This node object will represent
the full object-graph depiction of a live configuration.
name
- The name of the configuration nodein
- the InputStream
from which
the configuration will be read
ConfigurationFormatException
- when there is a formatting error
with the input streampublic void writeConfigurationStreamToData(org.jdom.Document document, OutputStream out) throws ConfigurationFormatException
Stores the raw version of the provided CCLNode
object in the format that this format service implementation
understands.
out
- The output stream to which the raw configuration
data should be writtendocument
- The Configuration object to be stored; may be any
subclass of Configuration
ConfigurationFormatException
- When unable to write a
node's raw format to the output stream
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |