org.apache.jetspeed.xml.api.jcm
Class Content
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Content
public Content()
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.