org.dom4j.persistence
Class DocumentMemento

java.lang.Object
  |
  +--org.dom4j.persistence.DocumentMemento
All Implemented Interfaces:
Memento

public class DocumentMemento
extends Object
implements Memento


Field Summary
protected  MarshallingStrategy marshaller
           
protected  String systemId
           
 
Constructor Summary
DocumentMemento(String aSystemId, MarshallingContext context)
           
 
Method Summary
 MarshallingStrategy getMarshaller()
           
 Node getState()
           
 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 String systemId

marshaller

protected MarshallingStrategy marshaller
Constructor Detail

DocumentMemento

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

getState

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

setState

public void setState(Node node)
              throws Exception
Specified by:
setState in interface Memento
Exception

setState

public void setState(Document aState)

getMarshaller

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

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface Memento


Copyright © 2002-2003 MetaStuff Ltd.. All Rights Reserved.