org.enhydra.zeus
Class UnmarshalledObject

java.lang.Object
  |
  +--org.enhydra.zeus.UnmarshalledObject

public class UnmarshalledObject
extends java.lang.Object

UnmarshalledObject represents an object that has been unmarshalled by Zeus. It allows access to the original document's system and public IDs for use in marshalling.

Author:
Maciej Zawadzki

Field Summary
protected  java.lang.Object object
          The object that was unmarshalled
protected  java.lang.String publicID
          The public ID of the original XML document
protected  java.lang.String systemID
          The system ID of the original XML document
 
Constructor Summary
UnmarshalledObject(java.lang.Object object)
           This creates a new instance of an unmarshalled object, with no system or public ID.
UnmarshalledObject(java.lang.Object object, java.lang.String publicID, java.lang.String systemID)
           A simple contructor that accepts the object, system ID, and public ID as parameters.
 
Method Summary
 java.lang.Object getObject()
           This returns the object graph that represents an XML document.
 java.lang.String getPublicID()
           Returns the public ID of the DTD to which the XML document representation of the content must conform.
 java.lang.String getSystemID()
           Returns the system ID of the DTD to which the XML document representation of the content must conform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

protected java.lang.Object object
The object that was unmarshalled

systemID

protected java.lang.String systemID
The system ID of the original XML document

publicID

protected java.lang.String publicID
The public ID of the original XML document
Constructor Detail

UnmarshalledObject

public UnmarshalledObject(java.lang.Object object,
                          java.lang.String publicID,
                          java.lang.String systemID)

A simple contructor that accepts the object, system ID, and public ID as parameters.

Parameters:
object - the Object graph representing an XML document
systemID - the system ID of the DTD to which the XML document must conform
publicID - the public ID of the DTD to which the XML document must conform

UnmarshalledObject

public UnmarshalledObject(java.lang.Object object)

This creates a new instance of an unmarshalled object, with no system or public ID.

Parameters:
object - the Object graph representing an XML document
Method Detail

getObject

public java.lang.Object getObject()

This returns the object graph that represents an XML document.

Returns:
Object graph representing an XML document

getSystemID

public java.lang.String getSystemID()

Returns the system ID of the DTD to which the XML document representation of the content must conform.

Returns:
String system ID of the DTD to which the XML document representation of the content must conform.

getPublicID

public java.lang.String getPublicID()

Returns the public ID of the DTD to which the XML document representation of the content must conform.

Returns:
String public ID of the DTD to which the XML document representation of the content must conform.


Copyright © 2001 Enhydra. All Rights Reserved.