|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.essex.xul.castor.Kernel
public class Kernel
Class Kernel.
Constructor Summary | |
---|---|
Kernel()
|
Method Summary | |
---|---|
void |
deleteHeight()
|
void |
deleteWidth()
|
int |
getHeight()
Returns the value of field 'height'. |
java.lang.String |
getLabel()
Returns the value of field 'label'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
java.lang.String |
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 |
setHeight(int height)
Sets the value of field 'height'. |
void |
setLabel(java.lang.String label)
Sets the value of field 'label'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setType(java.lang.String type)
Sets the value of field 'type'. |
void |
setWidth(int width)
Sets the value of field 'width'. |
static Kernel |
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 Kernel()
Method Detail |
---|
public void deleteHeight()
public void deleteWidth()
public int getHeight()
public java.lang.String getLabel()
public java.lang.String getName()
public java.lang.String 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 setHeight(int height)
height
- the value of field 'height'.public void setLabel(java.lang.String label)
label
- the value of field 'label'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setType(java.lang.String type)
type
- the value of field 'type'.public void setWidth(int width)
width
- the value of field 'width'.public static Kernel 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 |