org.dom4j.persistence
Class DocumentMemento

java.lang.Object
  extended byorg.dom4j.persistence.DocumentMemento
All Implemented Interfaces:
Memento

public class DocumentMemento
extends java.lang.Object
implements Memento


Field Summary
protected  MarshallingStrategy marshaller
           
protected  java.lang.String systemId
           
 
Constructor Summary
DocumentMemento(java.lang.String aSystemId, MarshallingContext context)
           
 
Method Summary
 MarshallingStrategy getMarshaller()
           
 Node getState()
           
 java.lang.String getSystemId()
           
 void setState(Document aState)
           
 void setState(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

systemId

protected java.lang.String systemId

marshaller

protected MarshallingStrategy marshaller
Constructor Detail

DocumentMemento

public DocumentMemento(java.lang.String aSystemId,
                       MarshallingContext context)
                throws java.lang.Exception
Method Detail

getState

public Node getState()
Specified by:
getState in interface Memento

setState

public void setState(Node node)
              throws java.lang.Exception
Specified by:
setState in interface Memento
Throws:
java.lang.Exception

setState

public void setState(Document aState)

getMarshaller

public MarshallingStrategy getMarshaller()
Specified by:
getMarshaller in interface Memento

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface Memento


Copyright © 2001 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge Logo