org.oasis.ebxml.registry.bindings.rs
Class RegistryError

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.rs.RegistryError
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
RegistryError()
           
 
Method Summary
 java.lang.String getCodeContext()
          Returns the value of field 'codeContext'.
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.lang.String getErrorCode()
          Returns the value of field 'errorCode'.
 java.lang.String getLocation()
          Returns the value of field 'location'.
 ErrorType getSeverity()
          Returns the value of field 'severity'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setCodeContext(java.lang.String codeContext)
          Sets the value of field 'codeContext'.
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 void setErrorCode(java.lang.String errorCode)
          Sets the value of field 'errorCode'.
 void setLocation(java.lang.String location)
          Sets the value of field 'location'.
 void setSeverity(ErrorType severity)
          Sets the value of field 'severity'.
static RegistryError unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryError

public RegistryError()
Method Detail

getCodeContext

public java.lang.String getCodeContext()
Returns the value of field 'codeContext'.

Returns:
the value of field 'codeContext'.

getContent

public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
the value of field 'content'.

getErrorCode

public java.lang.String getErrorCode()
Returns the value of field 'errorCode'.

Returns:
the value of field 'errorCode'.

getLocation

public java.lang.String getLocation()
Returns the value of field 'location'.

Returns:
the value of field 'location'.

getSeverity

public ErrorType getSeverity()
Returns the value of field 'severity'.

Returns:
the value of field 'severity'.

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

setCodeContext

public void setCodeContext(java.lang.String codeContext)
Sets the value of field 'codeContext'.

Parameters:
codeContext - the value of field 'codeContext'.

setContent

public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

Parameters:
content - the value of field 'content'.

setErrorCode

public void setErrorCode(java.lang.String errorCode)
Sets the value of field 'errorCode'.

Parameters:
errorCode - the value of field 'errorCode'.

setLocation

public void setLocation(java.lang.String location)
Sets the value of field 'location'.

Parameters:
location - the value of field 'location'.

setSeverity

public void setSeverity(ErrorType severity)
Sets the value of field 'severity'.

Parameters:
severity - the value of field 'severity'.

unmarshal

public static RegistryError 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