|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.essex.ia.opview.xml.AcceptsInput
public class AcceptsInput
Class AcceptsInput.
Constructor Summary | |
---|---|
AcceptsInput()
|
Method Summary | |
---|---|
void |
addClassName(int index,
java.lang.String vClassName)
|
void |
addClassName(java.lang.String vClassName)
|
java.util.Enumeration<? extends java.lang.String> |
enumerateClassName()
Method enumerateClassName. |
java.lang.String[] |
getClassName()
Method getClassName.Returns the contents of the collection in an Array. |
java.lang.String |
getClassName(int index)
Method getClassName. |
int |
getClassNameCount()
Method getClassNameCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends java.lang.String> |
iterateClassName()
Method iterateClassName. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllClassName()
|
boolean |
removeClassName(java.lang.String vClassName)
Method removeClassName. |
java.lang.String |
removeClassNameAt(int index)
Method removeClassNameAt. |
void |
setClassName(int index,
java.lang.String vClassName)
|
void |
setClassName(java.lang.String[] vClassNameArray)
|
static AcceptsInput |
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 AcceptsInput()
Method Detail |
---|
public void addClassName(java.lang.String vClassName) throws java.lang.IndexOutOfBoundsException
vClassName
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addClassName(int index, java.lang.String vClassName) throws java.lang.IndexOutOfBoundsException
index
- vClassName
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends java.lang.String> enumerateClassName()
public java.lang.String getClassName(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getClassName()
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 getClassNameCount()
public boolean isValid()
public java.util.Iterator<? extends java.lang.String> iterateClassName()
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 removeAllClassName()
public boolean removeClassName(java.lang.String vClassName)
vClassName
-
public java.lang.String removeClassNameAt(int index)
index
-
public void setClassName(int index, java.lang.String vClassName) throws java.lang.IndexOutOfBoundsException
index
- vClassName
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setClassName(java.lang.String[] vClassNameArray)
vClassNameArray
- public static AcceptsInput 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 |