public class Mask extends Object implements Serializable
Constructor and Description |
---|
Mask() |
public void addMaskelement(Maskelement element) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addMaskelement(int index, Maskelement element) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addVarbind(Varbind varbind) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addVarbind(int index, Varbind varbind) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Enumeration<Maskelement> enumerateMaskelement()
public Enumeration<Varbind> enumerateVarbind()
public Maskelement getMaskelement(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Maskelement[] getMaskelement()
public List<Maskelement> getMaskelementCollection()
public int getMaskelementCount()
public Varbind getVarbind(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public 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.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public 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
IndexOutOfBoundsException
public 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
IndexOutOfBoundsException
public 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.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
public EventMatcher constructMatcher()
public Maskelement getMaskElement(String mename)
Copyright © 2017. All rights reserved.