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

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

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

The following lines define the XML syntax for Clause.

See Also:
Serialized Form

Constructor Summary
Clause()
           
 
Method Summary
 CompoundClause getCompoundClause()
          Returns the value of field 'compoundClause'.
 SimpleClause getSimpleClause()
          Returns the value of field 'simpleClause'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setCompoundClause(CompoundClause compoundClause)
          Sets the value of field 'compoundClause'.
 void setSimpleClause(SimpleClause simpleClause)
          Sets the value of field 'simpleClause'.
static Clause 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

Clause

public Clause()
Method Detail

getCompoundClause

public CompoundClause getCompoundClause()
Returns the value of field 'compoundClause'.

Returns:
the value of field 'compoundClause'.

getSimpleClause

public SimpleClause getSimpleClause()
Returns the value of field 'simpleClause'.

Returns:
the value of field 'simpleClause'.

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

setCompoundClause

public void setCompoundClause(CompoundClause compoundClause)
Sets the value of field 'compoundClause'.

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

setSimpleClause

public void setSimpleClause(SimpleClause simpleClause)
Sets the value of field 'simpleClause'.

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

unmarshal

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