public class Security extends Object implements Serializable
Constructor and Description |
---|
Security() |
Modifier and Type | Method and Description |
---|---|
void |
addDoNotOverride(int index,
String vDoNotOverride) |
void |
addDoNotOverride(String vDoNotOverride) |
Enumeration<String> |
enumerateDoNotOverride()
Method enumerateDoNotOverride.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
String[] |
getDoNotOverride()
Method getDoNotOverride.Returns the contents of the
collection in an Array.
|
String |
getDoNotOverride(int index)
Method getDoNotOverride.
|
List<String> |
getDoNotOverrideCollection()
Method getDoNotOverrideCollection.Returns a reference to
'_doNotOverrideList'.
|
int |
getDoNotOverrideCount()
Method getDoNotOverrideCount.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<String> |
iterateDoNotOverride()
Method iterateDoNotOverride.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllDoNotOverride() |
boolean |
removeDoNotOverride(String vDoNotOverride)
Method removeDoNotOverride.
|
String |
removeDoNotOverrideAt(int index)
Method removeDoNotOverrideAt.
|
void |
setDoNotOverride(int index,
String vDoNotOverride) |
void |
setDoNotOverride(List<String> vDoNotOverrideList)
Sets the value of '_doNotOverrideList' by copying the given
Vector.
|
void |
setDoNotOverride(String[] vDoNotOverrideArray) |
void |
setDoNotOverrideCollection(List<String> doNotOverrideList)
Deprecated.
|
static Security |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addDoNotOverride(String vDoNotOverride) throws IndexOutOfBoundsException
vDoNotOverride
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addDoNotOverride(int index, String vDoNotOverride) throws IndexOutOfBoundsException
index
- vDoNotOverride
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateDoNotOverride()
public boolean equals(Object obj)
public String getDoNotOverride(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getDoNotOverride()
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<String> getDoNotOverrideCollection()
public int getDoNotOverrideCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<String> iterateDoNotOverride()
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 removeAllDoNotOverride()
public boolean removeDoNotOverride(String vDoNotOverride)
vDoNotOverride
- public String removeDoNotOverrideAt(int index)
index
- public void setDoNotOverride(int index, String vDoNotOverride) throws IndexOutOfBoundsException
index
- vDoNotOverride
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setDoNotOverride(String[] vDoNotOverrideArray)
vDoNotOverrideArray
- public void setDoNotOverride(List<String> vDoNotOverrideList)
vDoNotOverrideList
- the Vector to copy.public void setDoNotOverrideCollection(List<String> doNotOverrideList)
doNotOverrideList
- the Vector to set.public static Security 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 © 2015. All Rights Reserved.