|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.service.ServiceConfiguration
public class ServiceConfiguration
Top-level element for the service-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
ServiceConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addService(int index,
Service vService)
Method addService |
void |
addService(Service vService)
Method addService |
void |
clearService()
Method clearService |
java.util.Enumeration |
enumerateService()
Method enumerateService |
Service[] |
getService()
Method getService |
Service |
getService(int index)
Method getService |
java.util.ArrayList |
getServiceCollection()
Method getServiceCollection Returns a reference to 'service'. |
int |
getServiceCount()
Method getServiceCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeService(Service vService)
Method removeService |
void |
setService(java.util.ArrayList serviceCollection)
Method setService Sets the value of 'service' by copying the given ArrayList. |
void |
setService(int index,
Service vService)
Method setService |
void |
setService(Service[] serviceArray)
Method setService |
void |
setServiceCollection(java.util.ArrayList serviceCollection)
Method setServiceCollection Sets the value of 'service' by setting it to the given ArrayList. |
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 ServiceConfiguration()
| Method Detail |
|---|
public void addService(Service vService)
throws java.lang.IndexOutOfBoundsException
vService -
java.lang.IndexOutOfBoundsException
public void addService(int index,
Service vService)
throws java.lang.IndexOutOfBoundsException
index - vService -
java.lang.IndexOutOfBoundsExceptionpublic void clearService()
public java.util.Enumeration enumerateService()
public Service getService(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Service[] getService()
public java.util.ArrayList getServiceCollection()
public int getServiceCount()
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 removeService(Service vService)
vService -
public void setService(int index,
Service vService)
throws java.lang.IndexOutOfBoundsException
index - vService -
java.lang.IndexOutOfBoundsExceptionpublic void setService(Service[] serviceArray)
serviceArray - public void setService(java.util.ArrayList serviceCollection)
serviceCollection - the Vector to copy.public void setServiceCollection(java.util.ArrayList serviceCollection)
serviceCollection - the ArrayList to copy.
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 | ||||||||