public class IpManagement extends Object implements Serializable
Constructor and Description |
---|
IpManagement() |
Modifier and Type | Method and Description |
---|---|
void |
addIncludeUrl(int index,
String vIncludeUrl) |
void |
addIncludeUrl(String vIncludeUrl) |
void |
addRange(int index,
Range vRange) |
void |
addRange(Range vRange) |
void |
addSpecific(int index,
String vSpecific) |
void |
addSpecific(String vSpecific) |
Enumeration<String> |
enumerateIncludeUrl()
Method enumerateIncludeUrl.
|
Enumeration<Range> |
enumerateRange()
Method enumerateRange.
|
Enumeration<String> |
enumerateSpecific()
Method enumerateSpecific.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String[] |
getIncludeUrl()
Method getIncludeUrl.Returns the contents of the collection
in an Array.
|
String |
getIncludeUrl(int index)
Method getIncludeUrl.
|
List<String> |
getIncludeUrlCollection()
Method getIncludeUrlCollection.Returns a reference to
'_includeUrlList'.
|
int |
getIncludeUrlCount()
Method getIncludeUrlCount.
|
String |
getPolicy()
Returns the value of field 'policy'.
|
Range[] |
getRange()
Method getRange.Returns the contents of the collection in an
Array.
|
Range |
getRange(int index)
Method getRange.
|
List<Range> |
getRangeCollection()
Method getRangeCollection.Returns a reference to
'_rangeList'.
|
int |
getRangeCount()
Method getRangeCount.
|
String[] |
getSpecific()
Method getSpecific.Returns the contents of the collection in
an Array.
|
String |
getSpecific(int index)
Method getSpecific.
|
List<String> |
getSpecificCollection()
Method getSpecificCollection.Returns a reference to
'_specificList'.
|
int |
getSpecificCount()
Method getSpecificCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<String> |
iterateIncludeUrl()
Method iterateIncludeUrl.
|
Iterator<Range> |
iterateRange()
Method iterateRange.
|
Iterator<String> |
iterateSpecific()
Method iterateSpecific.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllIncludeUrl() |
void |
removeAllRange() |
void |
removeAllSpecific() |
boolean |
removeIncludeUrl(String vIncludeUrl)
Method removeIncludeUrl.
|
String |
removeIncludeUrlAt(int index)
Method removeIncludeUrlAt.
|
boolean |
removeRange(Range vRange)
Method removeRange.
|
Range |
removeRangeAt(int index)
Method removeRangeAt.
|
boolean |
removeSpecific(String vSpecific)
Method removeSpecific.
|
String |
removeSpecificAt(int index)
Method removeSpecificAt.
|
void |
setIncludeUrl(int index,
String vIncludeUrl) |
void |
setIncludeUrl(List<String> vIncludeUrlList)
Sets the value of '_includeUrlList' by copying the given
Vector.
|
void |
setIncludeUrl(String[] vIncludeUrlArray) |
void |
setIncludeUrlCollection(List<String> includeUrlList)
Deprecated.
|
void |
setPolicy(String policy)
Sets the value of field 'policy'.
|
void |
setRange(int index,
Range vRange) |
void |
setRange(List<Range> vRangeList)
Sets the value of '_rangeList' by copying the given Vector.
|
void |
setRange(Range[] vRangeArray) |
void |
setRangeCollection(List<Range> rangeList)
Deprecated.
|
void |
setSpecific(int index,
String vSpecific) |
void |
setSpecific(List<String> vSpecificList)
Sets the value of '_specificList' by copying the given
Vector.
|
void |
setSpecific(String[] vSpecificArray) |
void |
setSpecificCollection(List<String> specificList)
Deprecated.
|
static IpManagement |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addIncludeUrl(String vIncludeUrl) throws IndexOutOfBoundsException
vIncludeUrl
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addIncludeUrl(int index, String vIncludeUrl) throws IndexOutOfBoundsException
index
- vIncludeUrl
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addRange(Range vRange) throws IndexOutOfBoundsException
vRange
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addRange(int index, Range vRange) throws IndexOutOfBoundsException
index
- vRange
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSpecific(String vSpecific) throws IndexOutOfBoundsException
vSpecific
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSpecific(int index, String vSpecific) throws IndexOutOfBoundsException
index
- vSpecific
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateIncludeUrl()
public Enumeration<Range> enumerateRange()
public Enumeration<String> enumerateSpecific()
public boolean equals(Object obj)
public String getIncludeUrl(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getIncludeUrl()
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> getIncludeUrlCollection()
public int getIncludeUrlCount()
public String getPolicy()
public Range getRange(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Range[] getRange()
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<Range> getRangeCollection()
public int getRangeCount()
public String getSpecific(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getSpecific()
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> getSpecificCollection()
public int getSpecificCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<String> iterateIncludeUrl()
public Iterator<Range> iterateRange()
public Iterator<String> iterateSpecific()
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 removeAllIncludeUrl()
public void removeAllRange()
public void removeAllSpecific()
public boolean removeIncludeUrl(String vIncludeUrl)
vIncludeUrl
- public String removeIncludeUrlAt(int index)
index
- public boolean removeRange(Range vRange)
vRange
- public Range removeRangeAt(int index)
index
- public boolean removeSpecific(String vSpecific)
vSpecific
- public String removeSpecificAt(int index)
index
- public void setIncludeUrl(int index, String vIncludeUrl) throws IndexOutOfBoundsException
index
- vIncludeUrl
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setIncludeUrl(String[] vIncludeUrlArray)
vIncludeUrlArray
- public void setIncludeUrl(List<String> vIncludeUrlList)
vIncludeUrlList
- the Vector to copy.public void setIncludeUrlCollection(List<String> includeUrlList)
includeUrlList
- the Vector to set.public void setPolicy(String policy)
policy
- the value of field 'policy'.public void setRange(int index, Range vRange) throws IndexOutOfBoundsException
index
- vRange
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setRange(Range[] vRangeArray)
vRangeArray
- public void setRange(List<Range> vRangeList)
vRangeList
- the Vector to copy.public void setRangeCollection(List<Range> rangeList)
rangeList
- the Vector to set.public void setSpecific(int index, String vSpecific) throws IndexOutOfBoundsException
index
- vSpecific
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSpecific(String[] vSpecificArray)
vSpecificArray
- public void setSpecific(List<String> vSpecificList)
vSpecificList
- the Vector to copy.public void setSpecificCollection(List<String> specificList)
specificList
- the Vector to set.public static IpManagement 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.