public class SyslogdConfiguration extends Object implements Serializable
Constructor and Description |
---|
SyslogdConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addImportFile(int index,
String vImportFile) |
void |
addImportFile(String vImportFile) |
Enumeration<String> |
enumerateImportFile()
Method enumerateImportFile.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Configuration |
getConfiguration()
Returns the value of field 'configuration'.
|
HideMessage |
getHideMessage()
Returns the value of field 'hideMessage'.
|
String[] |
getImportFile()
Method getImportFile.Returns the contents of the collection
in an Array.
|
String |
getImportFile(int index)
Method getImportFile.
|
List<String> |
getImportFileCollection()
Method getImportFileCollection.Returns a reference to
'_importFileList'.
|
int |
getImportFileCount()
Method getImportFileCount.
|
UeiList |
getUeiList()
Returns the value of field 'ueiList'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<String> |
iterateImportFile()
Method iterateImportFile.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllImportFile() |
boolean |
removeImportFile(String vImportFile)
Method removeImportFile.
|
String |
removeImportFileAt(int index)
Method removeImportFileAt.
|
void |
setConfiguration(Configuration configuration)
Sets the value of field 'configuration'.
|
void |
setHideMessage(HideMessage hideMessage)
Sets the value of field 'hideMessage'.
|
void |
setImportFile(int index,
String vImportFile) |
void |
setImportFile(List<String> vImportFileList)
Sets the value of '_importFileList' by copying the given
Vector.
|
void |
setImportFile(String[] vImportFileArray) |
void |
setImportFileCollection(List<String> importFileList)
Deprecated.
|
void |
setUeiList(UeiList ueiList)
Sets the value of field 'ueiList'.
|
static SyslogdConfiguration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addImportFile(String vImportFile) throws IndexOutOfBoundsException
vImportFile
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addImportFile(int index, String vImportFile) throws IndexOutOfBoundsException
index
- vImportFile
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateImportFile()
public boolean equals(Object obj)
public Configuration getConfiguration()
public HideMessage getHideMessage()
public String getImportFile(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getImportFile()
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> getImportFileCollection()
public int getImportFileCount()
public UeiList getUeiList()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<String> iterateImportFile()
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 removeAllImportFile()
public boolean removeImportFile(String vImportFile)
vImportFile
- public String removeImportFileAt(int index)
index
- public void setConfiguration(Configuration configuration)
configuration
- the value of field 'configuration'.public void setHideMessage(HideMessage hideMessage)
hideMessage
- the value of field 'hideMessage'.public void setImportFile(int index, String vImportFile) throws IndexOutOfBoundsException
index
- vImportFile
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setImportFile(String[] vImportFileArray)
vImportFileArray
- public void setImportFile(List<String> vImportFileList)
vImportFileList
- the Vector to copy.public void setImportFileCollection(List<String> importFileList)
importFileList
- the Vector to set.public void setUeiList(UeiList ueiList)
ueiList
- the value of field 'ueiList'.public static SyslogdConfiguration 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.