public class Maskelement extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_HOST
The event host xml tag
|
static String |
TAG_INTERFACE
The event interface xml tag
|
static String |
TAG_NODEID
The event nodeid xml tag
|
static String |
TAG_SERVICE
The event service xml tag
|
static String |
TAG_SNMP_COMMUNITY
The SNMP community xml tag
|
static String |
TAG_SNMP_EID
The SNMP EID xml tag
|
static String |
TAG_SNMP_GENERIC
The SNMP generic xml tag
|
static String |
TAG_SNMP_SPECIFIC
The SNMP specific xml tag
|
static String |
TAG_SNMPHOST
The event snmp host xml tag
|
static String |
TAG_SOURCE
The event source xml tag
|
static String |
TAG_UEI
The UEI xml tag
|
| Constructor and Description |
|---|
Maskelement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMevalue(int index,
String value) |
void |
addMevalue(String value) |
EventMatcher |
constructMatcher() |
Enumeration<String> |
enumerateMevalue() |
boolean |
equals(Object obj) |
String |
getMename()
The mask element name.
|
String[] |
getMevalue() |
String |
getMevalue(int index)
The mask element value.
|
List<String> |
getMevalueCollection() |
int |
getMevalueCount() |
int |
hashCode() |
boolean |
isValid() |
Iterator<String> |
iterateMevalue() |
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllMevalue() |
boolean |
removeMevalue(String value) |
String |
removeMevalueAt(int index) |
void |
setMename(String mename) |
void |
setMevalue(int index,
String value) |
void |
setMevalue(List<String> values) |
void |
setMevalue(String[] values) |
void |
setMevalueCollection(List<String> values) |
static Maskelement |
unmarshal(Reader reader) |
void |
validate() |
public static final String TAG_UEI
public static final String TAG_SOURCE
public static final String TAG_NODEID
public static final String TAG_HOST
public static final String TAG_INTERFACE
public static final String TAG_SNMPHOST
public static final String TAG_SERVICE
public static final String TAG_SNMP_EID
public static final String TAG_SNMP_SPECIFIC
public static final String TAG_SNMP_GENERIC
public static final String TAG_SNMP_COMMUNITY
public void addMevalue(String value) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addMevalue(int index,
String value)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Enumeration<String> enumerateMevalue()
public String getMename()
The mask element name. Must be from the following subset:
public String getMevalue(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic String[] getMevalue()
public int getMevalueCount()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void removeAllMevalue()
public boolean removeMevalue(String value)
public String removeMevalueAt(int index)
public void setMename(String mename)
public void setMevalue(int index,
String value)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setMevalue(String[] values)
public static Maskelement unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationExceptionpublic EventMatcher constructMatcher()
Copyright © 2015. All rights reserved.