|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.essex.xul.castor.Xul
public class Xul
Class Xul.
Constructor Summary | |
---|---|
Xul()
|
Method Summary | |
---|---|
void |
addPanel(int index,
Panel vPanel)
|
void |
addPanel(Panel vPanel)
|
java.util.Enumeration<? extends Panel> |
enumeratePanel()
Method enumeratePanel. |
Panel[] |
getPanel()
Method getPanel.Returns the contents of the collection in an Array. |
Panel |
getPanel(int index)
Method getPanel. |
int |
getPanelCount()
Method getPanelCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends Panel> |
iteratePanel()
Method iteratePanel. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllPanel()
|
boolean |
removePanel(Panel vPanel)
Method removePanel. |
Panel |
removePanelAt(int index)
Method removePanelAt. |
void |
setPanel(int index,
Panel vPanel)
|
void |
setPanel(Panel[] vPanelArray)
|
static Xul |
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 Xul()
Method Detail |
---|
public void addPanel(Panel vPanel) throws java.lang.IndexOutOfBoundsException
vPanel
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPanel(int index, Panel vPanel) throws java.lang.IndexOutOfBoundsException
index
- vPanel
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends Panel> enumeratePanel()
public Panel getPanel(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Panel[] getPanel()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getPanelCount()
public boolean isValid()
public java.util.Iterator<? extends Panel> iteratePanel()
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 removeAllPanel()
public boolean removePanel(Panel vPanel)
vPanel
-
public Panel removePanelAt(int index)
index
-
public void setPanel(int index, Panel vPanel) throws java.lang.IndexOutOfBoundsException
index
- vPanel
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setPanel(Panel[] vPanelArray)
vPanelArray
- public static Xul 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 |