public class Mask extends Object implements Serializable
| Constructor and Description |
|---|
Mask() |
public void addMaskelement(Maskelement element) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addMaskelement(int index,
Maskelement element)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addVarbind(Varbind varbind) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addVarbind(int index,
Varbind varbind)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Enumeration<Maskelement> enumerateMaskelement()
public Enumeration<Varbind> enumerateVarbind()
public Maskelement getMaskelement(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Maskelement[] getMaskelement()
public List<Maskelement> getMaskelementCollection()
public int getMaskelementCount()
public Varbind getVarbind(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Varbind[] getVarbind()
public int getVarbindCount()
public boolean isValid()
public Iterator<Maskelement> iterateMaskelement()
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 removeAllMaskelement()
public void removeAllVarbind()
public boolean removeMaskelement(Maskelement element)
public Maskelement removeMaskelementAt(int index)
public boolean removeVarbind(Varbind varbind)
public Varbind removeVarbindAt(int index)
public void setMaskelement(int index,
Maskelement element)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setMaskelement(Maskelement[] elements)
public void setMaskelement(List<Maskelement> elements)
public void setMaskelementCollection(List<Maskelement> elements)
public void setVarbind(int index,
Varbind varbind)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setVarbind(Varbind[] varbinds)
public static Mask 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()
public Maskelement getMaskElement(String mename)
Copyright © 2015. All rights reserved.