public class TsAnyType extends LexGridBase implements java.io.Serializable
Constructor and Description |
---|
TsAnyType() |
Modifier and Type | Method and Description |
---|---|
void |
addAnyObject(int index,
java.lang.Object vAnyObject) |
void |
addAnyObject(java.lang.Object vAnyObject) |
java.util.Enumeration<? extends java.lang.Object> |
enumerateAnyObject()
Method enumerateAnyObject.
|
java.lang.Object[] |
getAnyObject()
Method getAnyObject.Returns the contents of the collection
in an Array.
|
java.lang.Object |
getAnyObject(int index)
Method getAnyObject.
|
java.util.List<java.lang.Object> |
getAnyObjectAsReference()
Method getAnyObjectAsReference.Returns a reference to
'_anyObject'.
|
int |
getAnyObjectCount()
Method getAnyObjectCount.
|
java.lang.String |
getContent()
Returns the value of field 'content'.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends java.lang.Object> |
iterateAnyObject()
Method iterateAnyObject.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllAnyObject() |
boolean |
removeAnyObject(java.lang.Object vAnyObject)
Method removeAnyObject.
|
java.lang.Object |
removeAnyObjectAt(int index)
Method removeAnyObjectAt.
|
void |
setAnyObject(int index,
java.lang.Object vAnyObject) |
void |
setAnyObject(java.util.List<java.lang.Object> vAnyObjectList)
Sets the value of '_anyObject' by copying the given Vector.
|
void |
setAnyObject(java.lang.Object[] vAnyObjectArray) |
void |
setAnyObjectAsReference(java.util.List<java.lang.Object> anyObjectList)
Deprecated.
|
void |
setContent(java.lang.String content)
Sets the value of field 'content'.
|
static TsAnyType |
unmarshalTsAnyType(java.io.Reader reader)
Method unmarshalTsAnyType.
|
void |
validate() |
getParent, setParent
public void addAnyObject(java.lang.Object vAnyObject) throws java.lang.IndexOutOfBoundsException
vAnyObject
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAnyObject(int index, java.lang.Object vAnyObject) throws java.lang.IndexOutOfBoundsException
index
- vAnyObject
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends java.lang.Object> enumerateAnyObject()
public java.lang.Object getAnyObject(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.Object[] getAnyObject()
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 java.util.List<java.lang.Object> getAnyObjectAsReference()
public int getAnyObjectCount()
public java.lang.String getContent()
public boolean isValid()
public java.util.Iterator<? extends java.lang.Object> iterateAnyObject()
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 marshalingorg.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
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllAnyObject()
public boolean removeAnyObject(java.lang.Object vAnyObject)
vAnyObject
- public java.lang.Object removeAnyObjectAt(int index)
index
- public void setAnyObject(int index, java.lang.Object vAnyObject) throws java.lang.IndexOutOfBoundsException
index
- vAnyObject
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAnyObject(java.lang.Object[] vAnyObjectArray)
vAnyObjectArray
- public void setAnyObject(java.util.List<java.lang.Object> vAnyObjectList)
vAnyObjectList
- the Vector to copy.public void setAnyObjectAsReference(java.util.List<java.lang.Object> anyObjectList)
anyObjectList
- the Vector to set.public void setContent(java.lang.String content)
content
- the value of field 'content'.public static TsAnyType unmarshalTsAnyType(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 marshalingorg.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