commgrids.nuggets.wiley.schema
Class Keywords
java.lang.Object
commgrids.nuggets.wiley.schema.Keywords
- All Implemented Interfaces:
- java.io.Serializable
- public class Keywords
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Keywords
public Keywords()
addKeyword
public void addKeyword(java.lang.String vKeyword)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vKeyword
-
- Throws:
java.lang.IndexOutOfBoundsException
addKeyword
public void addKeyword(int index,
java.lang.String vKeyword)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vKeyword
-
- Throws:
java.lang.IndexOutOfBoundsException
enumerateKeyword
public java.util.Enumeration enumerateKeyword()
getKeyword
public java.lang.String getKeyword(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
- Throws:
java.lang.IndexOutOfBoundsException
getKeyword
public java.lang.String[] getKeyword()
getKeywordCount
public int getKeywordCount()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
marshal
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
- Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
removeAllKeyword
public void removeAllKeyword()
removeKeyword
public java.lang.String removeKeyword(int index)
- Parameters:
index
-
setKeyword
public void setKeyword(int index,
java.lang.String vKeyword)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vKeyword
-
- Throws:
java.lang.IndexOutOfBoundsException
setKeyword
public void setKeyword(java.lang.String[] keywordArray)
- Parameters:
keywordArray
-
unmarshal
public static Keywords unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Throws:
org.exolab.castor.xml.ValidationException