|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.essex.ia.opview.xml.Input
public class Input
Class Input.
Constructor Summary | |
---|---|
Input()
|
|
Input(java.lang.String defaultValue)
|
Method Summary | |
---|---|
void |
deleteHeight()
|
void |
deleteWidth()
|
java.lang.String |
getContent()
Returns the value of field 'content'. |
int |
getHeight()
Returns the value of field 'height'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
InputTypeType |
getType()
Returns the value of field 'type'. |
int |
getWidth()
Returns the value of field 'width'. |
boolean |
hasHeight()
Method hasHeight. |
boolean |
hasWidth()
Method hasWidth. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setContent(java.lang.String content)
Sets the value of field 'content'. |
void |
setHeight(int height)
Sets the value of field 'height'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setType(InputTypeType type)
Sets the value of field 'type'. |
void |
setWidth(int width)
Sets the value of field 'width'. |
static Input |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Input()
public Input(java.lang.String defaultValue)
Method Detail |
---|
public void deleteHeight()
public void deleteWidth()
public java.lang.String getContent()
public int getHeight()
public java.lang.String getName()
public InputTypeType getType()
public int getWidth()
public boolean hasHeight()
public boolean hasWidth()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
- if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setContent(java.lang.String content)
content
- the value of field 'content'.public void setHeight(int height)
height
- the value of field 'height'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setType(InputTypeType type)
type
- the value of field 'type'.public void setWidth(int width)
width
- the value of field 'width'.public static Input unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |