|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.capsd.ProtocolPlugin
public class ProtocolPlugin
protocol plugin definition
| Constructor Summary | |
|---|---|
ProtocolPlugin()
|
|
| Method Summary | |
|---|---|
void |
addProperty(int index,
Property vProperty)
Method addProperty |
void |
addProperty(Property vProperty)
Method addProperty |
void |
addProtocolConfiguration(int index,
ProtocolConfiguration vProtocolConfiguration)
Method addProtocolConfiguration |
void |
addProtocolConfiguration(ProtocolConfiguration vProtocolConfiguration)
Method addProtocolConfiguration |
void |
clearProperty()
Method clearProperty |
void |
clearProtocolConfiguration()
Method clearProtocolConfiguration |
java.util.Enumeration |
enumerateProperty()
Method enumerateProperty |
java.util.Enumeration |
enumerateProtocolConfiguration()
Method enumerateProtocolConfiguration |
java.lang.String |
getClassName()
Returns the value of field 'className'. |
Property[] |
getProperty()
Method getProperty |
Property |
getProperty(int index)
Method getProperty |
java.util.ArrayList |
getPropertyCollection()
Method getPropertyCollection Returns a reference to 'property'. |
int |
getPropertyCount()
Method getPropertyCount |
java.lang.String |
getProtocol()
Returns the value of field 'protocol'. |
ProtocolConfiguration[] |
getProtocolConfiguration()
Method getProtocolConfiguration |
ProtocolConfiguration |
getProtocolConfiguration(int index)
Method getProtocolConfiguration |
java.util.ArrayList |
getProtocolConfigurationCollection()
Method getProtocolConfigurationCollection Returns a reference to 'protocolConfiguration'. |
int |
getProtocolConfigurationCount()
Method getProtocolConfigurationCount |
java.lang.String |
getScan()
Returns the value of field 'scan'. |
java.lang.String |
getUserDefined()
Returns the value of field 'userDefined'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeProperty(Property vProperty)
Method removeProperty |
boolean |
removeProtocolConfiguration(ProtocolConfiguration vProtocolConfiguration)
Method removeProtocolConfiguration |
void |
setClassName(java.lang.String className)
Sets the value of field 'className'. |
void |
setProperty(java.util.ArrayList propertyCollection)
Method setProperty Sets the value of 'property' by copying the given ArrayList. |
void |
setProperty(int index,
Property vProperty)
Method setProperty |
void |
setProperty(Property[] propertyArray)
Method setProperty |
void |
setPropertyCollection(java.util.ArrayList propertyCollection)
Method setPropertyCollection Sets the value of 'property' by setting it to the given ArrayList. |
void |
setProtocol(java.lang.String protocol)
Sets the value of field 'protocol'. |
void |
setProtocolConfiguration(java.util.ArrayList protocolConfigurationCollection)
Method setProtocolConfiguration Sets the value of 'protocolConfiguration' by copying the given ArrayList. |
void |
setProtocolConfiguration(int index,
ProtocolConfiguration vProtocolConfiguration)
Method setProtocolConfiguration |
void |
setProtocolConfiguration(ProtocolConfiguration[] protocolConfigurationArray)
Method setProtocolConfiguration |
void |
setProtocolConfigurationCollection(java.util.ArrayList protocolConfigurationCollection)
Method setProtocolConfigurationCollection Sets the value of 'protocolConfiguration' by setting it to the given ArrayList. |
void |
setScan(java.lang.String scan)
Sets the value of field 'scan'. |
void |
setUserDefined(java.lang.String userDefined)
Sets the value of field 'userDefined'. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtocolPlugin()
| Method Detail |
|---|
public void addProperty(Property vProperty)
throws java.lang.IndexOutOfBoundsException
vProperty -
java.lang.IndexOutOfBoundsException
public void addProperty(int index,
Property vProperty)
throws java.lang.IndexOutOfBoundsException
index - vProperty -
java.lang.IndexOutOfBoundsException
public void addProtocolConfiguration(ProtocolConfiguration vProtocolConfiguration)
throws java.lang.IndexOutOfBoundsException
vProtocolConfiguration -
java.lang.IndexOutOfBoundsException
public void addProtocolConfiguration(int index,
ProtocolConfiguration vProtocolConfiguration)
throws java.lang.IndexOutOfBoundsException
index - vProtocolConfiguration -
java.lang.IndexOutOfBoundsExceptionpublic void clearProperty()
public void clearProtocolConfiguration()
public java.util.Enumeration enumerateProperty()
public java.util.Enumeration enumerateProtocolConfiguration()
public java.lang.String getClassName()
public Property getProperty(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Property[] getProperty()
public java.util.ArrayList getPropertyCollection()
public int getPropertyCount()
public java.lang.String getProtocol()
public ProtocolConfiguration getProtocolConfiguration(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic ProtocolConfiguration[] getProtocolConfiguration()
public java.util.ArrayList getProtocolConfigurationCollection()
public int getProtocolConfigurationCount()
public java.lang.String getScan()
public java.lang.String getUserDefined()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeProperty(Property vProperty)
vProperty -
public boolean removeProtocolConfiguration(ProtocolConfiguration vProtocolConfiguration)
vProtocolConfiguration -
public void setClassName(java.lang.String className)
className - the value of field 'className'.
public void setProperty(int index,
Property vProperty)
throws java.lang.IndexOutOfBoundsException
index - vProperty -
java.lang.IndexOutOfBoundsExceptionpublic void setProperty(Property[] propertyArray)
propertyArray - public void setProperty(java.util.ArrayList propertyCollection)
propertyCollection - the Vector to copy.public void setPropertyCollection(java.util.ArrayList propertyCollection)
propertyCollection - the ArrayList to copy.public void setProtocol(java.lang.String protocol)
protocol - the value of field 'protocol'.
public void setProtocolConfiguration(int index,
ProtocolConfiguration vProtocolConfiguration)
throws java.lang.IndexOutOfBoundsException
index - vProtocolConfiguration -
java.lang.IndexOutOfBoundsExceptionpublic void setProtocolConfiguration(ProtocolConfiguration[] protocolConfigurationArray)
protocolConfigurationArray - public void setProtocolConfiguration(java.util.ArrayList protocolConfigurationCollection)
protocolConfigurationCollection - the Vector to copy.public void setProtocolConfigurationCollection(java.util.ArrayList protocolConfigurationCollection)
protocolConfigurationCollection - the ArrayList to copy.public void setScan(java.lang.String scan)
scan - the value of field 'scan'.public void setUserDefined(java.lang.String userDefined)
userDefined - the value of field 'userDefined'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||