org.opennms.netmgt.config.syslogd
Class HideMessage

java.lang.Object
  extended by org.opennms.netmgt.config.syslogd.HideMessage
All Implemented Interfaces:
java.io.Serializable

public class HideMessage
extends java.lang.Object
implements java.io.Serializable

Class HideMessage.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
HideMessage()
           
 
Method Summary
 void addHideMatch(HideMatch vHideMatch)
          Method addHideMatch
 void addHideMatch(int index, HideMatch vHideMatch)
          Method addHideMatch
 void clearHideMatch()
          Method clearHideMatch
 java.util.Enumeration enumerateHideMatch()
          Method enumerateHideMatch
 HideMatch[] getHideMatch()
          Method getHideMatch
 HideMatch getHideMatch(int index)
          Method getHideMatch
 java.util.ArrayList getHideMatchCollection()
          Method getHideMatchCollection Returns a reference to 'hideMatch'.
 int getHideMatchCount()
          Method getHideMatchCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeHideMatch(HideMatch vHideMatch)
          Method removeHideMatch
 void setHideMatch(java.util.ArrayList hideMatchCollection)
          Method setHideMatch Sets the value of 'hideMatch' by copying the given ArrayList.
 void setHideMatch(HideMatch[] hideMatchArray)
          Method setHideMatch
 void setHideMatch(int index, HideMatch vHideMatch)
          Method setHideMatch
 void setHideMatchCollection(java.util.ArrayList hideMatchCollection)
          Method setHideMatchCollection Sets the value of 'hideMatch' 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

HideMessage

public HideMessage()
Method Detail

addHideMatch

public void addHideMatch(HideMatch vHideMatch)
                  throws java.lang.IndexOutOfBoundsException
Method addHideMatch

Parameters:
vHideMatch -
Throws:
java.lang.IndexOutOfBoundsException

addHideMatch

public void addHideMatch(int index,
                         HideMatch vHideMatch)
                  throws java.lang.IndexOutOfBoundsException
Method addHideMatch

Parameters:
index -
vHideMatch -
Throws:
java.lang.IndexOutOfBoundsException

clearHideMatch

public void clearHideMatch()
Method clearHideMatch


enumerateHideMatch

public java.util.Enumeration enumerateHideMatch()
Method enumerateHideMatch

Returns:
Enumeration

getHideMatch

public HideMatch getHideMatch(int index)
                       throws java.lang.IndexOutOfBoundsException
Method getHideMatch

Parameters:
index -
Returns:
HideMatch
Throws:
java.lang.IndexOutOfBoundsException

getHideMatch

public HideMatch[] getHideMatch()
Method getHideMatch

Returns:
HideMatch

getHideMatchCollection

public java.util.ArrayList getHideMatchCollection()
Method getHideMatchCollection Returns a reference to 'hideMatch'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getHideMatchCount

public int getHideMatchCount()
Method getHideMatchCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeHideMatch

public boolean removeHideMatch(HideMatch vHideMatch)
Method removeHideMatch

Parameters:
vHideMatch -
Returns:
boolean

setHideMatch

public void setHideMatch(int index,
                         HideMatch vHideMatch)
                  throws java.lang.IndexOutOfBoundsException
Method setHideMatch

Parameters:
index -
vHideMatch -
Throws:
java.lang.IndexOutOfBoundsException

setHideMatch

public void setHideMatch(HideMatch[] hideMatchArray)
Method setHideMatch

Parameters:
hideMatchArray -

setHideMatch

public void setHideMatch(java.util.ArrayList hideMatchCollection)
Method setHideMatch Sets the value of 'hideMatch' by copying the given ArrayList.

Parameters:
hideMatchCollection - the Vector to copy.

setHideMatchCollection

public void setHideMatchCollection(java.util.ArrayList hideMatchCollection)
Method setHideMatchCollection Sets the value of 'hideMatch' by setting it to the given ArrayList. No type checking is performed.

Parameters:
hideMatchCollection - the ArrayList to copy.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.