org.apache.jetspeed.xml.api.jcm
Class Content

java.lang.Object
  extended byorg.apache.jetspeed.xml.api.jcm.Content
All Implemented Interfaces:
java.io.Serializable

public class Content
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Content()
           
 
Method Summary
 Channel getChannel()
           
 java.lang.String getVersion()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setChannel(Channel channel)
           
 void setVersion(java.lang.String version)
           
static Content unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content()
Method Detail

getChannel

public Channel getChannel()

getVersion

public java.lang.String getVersion()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setChannel

public void setChannel(Channel channel)
Parameters:
channel -

setVersion

public void setVersion(java.lang.String version)
Parameters:
version -

unmarshal

public static Content unmarshal(java.io.Reader reader)
                         throws org.exolab.castor.xml.MarshalException,
                                org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.