org.apache.jetspeed.xml.api.jcm
Class Image
java.lang.Object
org.apache.jetspeed.xml.api.jcm.Image
- All Implemented Interfaces:
- java.io.Serializable
- public class Image
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Constructor Summary |
Image()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Image
public Image()
deleteHeight
public void deleteHeight()
deleteWidth
public void deleteWidth()
getDescription
public java.lang.String getDescription()
getHeight
public int getHeight()
getLink
public java.lang.String getLink()
getTitle
public java.lang.String getTitle()
getUrl
public java.lang.String getUrl()
getWidth
public int getWidth()
hasHeight
public boolean hasHeight()
hasWidth
public boolean hasWidth()
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
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
-
setHeight
public void setHeight(int height)
- Parameters:
height
-
setLink
public void setLink(java.lang.String link)
- Parameters:
link
-
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
-
setUrl
public void setUrl(java.lang.String url)
- Parameters:
url
-
setWidth
public void setWidth(int width)
- Parameters:
width
-
unmarshal
public static Image 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.