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

java.lang.Object
  extended byorg.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()
           
 
Method Summary
 void deleteHeight()
           
 void deleteWidth()
           
 java.lang.String getDescription()
           
 int getHeight()
           
 java.lang.String getLink()
           
 java.lang.String getTitle()
           
 java.lang.String getUrl()
           
 int getWidth()
           
 boolean hasHeight()
           
 boolean hasWidth()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setDescription(java.lang.String description)
           
 void setHeight(int height)
           
 void setLink(java.lang.String link)
           
 void setTitle(java.lang.String title)
           
 void setUrl(java.lang.String url)
           
 void setWidth(int width)
           
static Image 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

Image

public Image()
Method Detail

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.