org.oasis.ebxml.registry.bindings.query
Class AdhocQueryRequest

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

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

An Ad hoc query request specifies a query string as defined by [RS] in the queryString attribute

See Also:
Serialized Form

Constructor Summary
AdhocQueryRequest()
           
 
Method Summary
 AdhocQueryRequestChoice getAdhocQueryRequestChoice()
          Returns the value of field 'adhocQueryRequestChoice'.
 ResponseOption getResponseOption()
          Returns the value of field 'responseOption'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setAdhocQueryRequestChoice(AdhocQueryRequestChoice adhocQueryRequestChoice)
          Sets the value of field 'adhocQueryRequestChoice'.
 void setResponseOption(ResponseOption responseOption)
          Sets the value of field 'responseOption'.
static AdhocQueryRequest 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

AdhocQueryRequest

public AdhocQueryRequest()
Method Detail

getAdhocQueryRequestChoice

public AdhocQueryRequestChoice getAdhocQueryRequestChoice()
Returns the value of field 'adhocQueryRequestChoice'.

Returns:
the value of field 'adhocQueryRequestChoice'.

getResponseOption

public ResponseOption getResponseOption()
Returns the value of field 'responseOption'.

Returns:
the value of field 'responseOption'.

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

setAdhocQueryRequestChoice

public void setAdhocQueryRequestChoice(AdhocQueryRequestChoice adhocQueryRequestChoice)
Sets the value of field 'adhocQueryRequestChoice'.

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

setResponseOption

public void setResponseOption(ResponseOption responseOption)
Sets the value of field 'responseOption'.

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

unmarshal

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