public class Wpm extends Object implements Serializable
Constructor and Description |
---|
Wpm() |
Modifier and Type | Method and Description |
---|---|
void |
addAttrib(Attrib vAttrib) |
void |
addAttrib(int index,
Attrib vAttrib) |
void |
deleteRecheckInterval() |
Enumeration<Attrib> |
enumerateAttrib()
Method enumerateAttrib.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Attrib[] |
getAttrib()
Method getAttrib.Returns the contents of the collection in
an Array.
|
Attrib |
getAttrib(int index)
Method getAttrib.
|
List<Attrib> |
getAttribCollection()
Method getAttribCollection.Returns a reference to
'_attribList'.
|
int |
getAttribCount()
Method getAttribCount.
|
String |
getKeyvalue()
Returns the value of field 'keyvalue'.
|
String |
getName()
Returns the value of field 'name'.
|
int |
getRecheckInterval()
Returns the value of field 'recheckInterval'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasRecheckInterval()
Method hasRecheckInterval.
|
boolean |
isValid()
Method isValid.
|
Iterator<Attrib> |
iterateAttrib()
Method iterateAttrib.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllAttrib() |
boolean |
removeAttrib(Attrib vAttrib)
Method removeAttrib.
|
Attrib |
removeAttribAt(int index)
Method removeAttribAt.
|
void |
setAttrib(Attrib[] vAttribArray) |
void |
setAttrib(int index,
Attrib vAttrib) |
void |
setAttrib(List<Attrib> vAttribList)
Sets the value of '_attribList' by copying the given Vector.
|
void |
setAttribCollection(List<Attrib> attribList)
Deprecated.
|
void |
setKeyvalue(String keyvalue)
Sets the value of field 'keyvalue'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setRecheckInterval(int recheckInterval)
Sets the value of field 'recheckInterval'.
|
static Wpm |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addAttrib(Attrib vAttrib) throws IndexOutOfBoundsException
vAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAttrib(int index, Attrib vAttrib) throws IndexOutOfBoundsException
index
- vAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteRecheckInterval()
public Enumeration<Attrib> enumerateAttrib()
public boolean equals(Object obj)
public Attrib getAttrib(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Attrib[] getAttrib()
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 List<Attrib> getAttribCollection()
public int getAttribCount()
public String getKeyvalue()
public String getName()
public int getRecheckInterval()
public boolean hasRecheckInterval()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Attrib> iterateAttrib()
public void marshal(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(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- 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 removeAllAttrib()
public boolean removeAttrib(Attrib vAttrib)
vAttrib
- public Attrib removeAttribAt(int index)
index
- public void setAttrib(int index, Attrib vAttrib) throws IndexOutOfBoundsException
index
- vAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAttrib(Attrib[] vAttribArray)
vAttribArray
- public void setAttrib(List<Attrib> vAttribList)
vAttribList
- the Vector to copy.public void setAttribCollection(List<Attrib> attribList)
attribList
- the Vector to set.public void setKeyvalue(String keyvalue)
keyvalue
- the value of field 'keyvalue'.public void setName(String name)
name
- the value of field 'name'.public void setRecheckInterval(int recheckInterval)
recheckInterval
- the value of field 'recheckInterval'.public static Wpm unmarshal(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 schemaCopyright © 2017. All rights reserved.