org.oasis.ebxml.registry.bindings.rs
Class RegistryErrorList
java.lang.Object
org.oasis.ebxml.registry.bindings.rs.RegistryErrorList
- All Implemented Interfaces:
- java.io.Serializable
- public class RegistryErrorList
- extends java.lang.Object
- implements java.io.Serializable
The RegistryErrorList is derived from the ErrorList element
from the ebXML Message Service Specification
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryErrorList
public RegistryErrorList()
addRegistryError
public void addRegistryError(RegistryError vRegistryError)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vRegistryError
-
- Throws:
java.lang.IndexOutOfBoundsException
addRegistryError
public void addRegistryError(int index,
RegistryError vRegistryError)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vRegistryError
-
- Throws:
java.lang.IndexOutOfBoundsException
clearRegistryError
public void clearRegistryError()
enumerateRegistryError
public java.util.Enumeration enumerateRegistryError()
getHighestSeverity
public ErrorType getHighestSeverity()
- Returns the value of field 'highestSeverity'.
- Returns:
- the value of field 'highestSeverity'.
getRegistryError
public RegistryError getRegistryError(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
- Throws:
java.lang.IndexOutOfBoundsException
getRegistryError
public RegistryError[] getRegistryError()
getRegistryErrorCount
public int getRegistryErrorCount()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
removeRegistryError
public boolean removeRegistryError(RegistryError vRegistryError)
- Parameters:
vRegistryError
-
setHighestSeverity
public void setHighestSeverity(ErrorType highestSeverity)
- Sets the value of field 'highestSeverity'.
- Parameters:
highestSeverity
- the value of field 'highestSeverity'.
setRegistryError
public void setRegistryError(int index,
RegistryError vRegistryError)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vRegistryError
-
- Throws:
java.lang.IndexOutOfBoundsException
setRegistryError
public void setRegistryError(RegistryError[] registryErrorArray)
- Parameters:
registryErrorArray
-
unmarshal
public static RegistryErrorList unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Throws:
org.exolab.castor.xml.ValidationException