org.opennms.netmgt.config.siteStatusViews
Class Views

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

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

Class Views.

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

Constructor Summary
Views()
           
 
Method Summary
 void addView(int index, View vView)
          Method addView
 void addView(View vView)
          Method addView
 void clearView()
          Method clearView
 java.util.Enumeration enumerateView()
          Method enumerateView
 View[] getView()
          Method getView
 View getView(int index)
          Method getView
 java.util.ArrayList getViewCollection()
          Method getViewCollection Returns a reference to 'view'.
 int getViewCount()
          Method getViewCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeView(View vView)
          Method removeView
 void setView(java.util.ArrayList viewCollection)
          Method setView Sets the value of 'view' by copying the given ArrayList.
 void setView(int index, View vView)
          Method setView
 void setView(View[] viewArray)
          Method setView
 void setViewCollection(java.util.ArrayList viewCollection)
          Method setViewCollection Sets the value of 'view' 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

Views

public Views()
Method Detail

addView

public void addView(View vView)
             throws java.lang.IndexOutOfBoundsException
Method addView

Parameters:
vView -
Throws:
java.lang.IndexOutOfBoundsException

addView

public void addView(int index,
                    View vView)
             throws java.lang.IndexOutOfBoundsException
Method addView

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

clearView

public void clearView()
Method clearView


enumerateView

public java.util.Enumeration enumerateView()
Method enumerateView

Returns:
Enumeration

getView

public View getView(int index)
             throws java.lang.IndexOutOfBoundsException
Method getView

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

getView

public View[] getView()
Method getView

Returns:
View

getViewCollection

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

Returns:
ArrayList

getViewCount

public int getViewCount()
Method getViewCount

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

removeView

public boolean removeView(View vView)
Method removeView

Parameters:
vView -
Returns:
boolean

setView

public void setView(int index,
                    View vView)
             throws java.lang.IndexOutOfBoundsException
Method setView

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

setView

public void setView(View[] viewArray)
Method setView

Parameters:
viewArray -

setView

public void setView(java.util.ArrayList viewCollection)
Method setView Sets the value of 'view' by copying the given ArrayList.

Parameters:
viewCollection - the Vector to copy.

setViewCollection

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

Parameters:
viewCollection - 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.