org.oasis.ebxml.registry.bindings.rim
Class ObjectRefType
java.lang.Object
org.oasis.ebxml.registry.bindings.rim.ObjectRefType
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ObjectRef
- public abstract class ObjectRefType
- extends java.lang.Object
- implements java.io.Serializable
Use to reference an Object by its id.
Specifies the id attribute of the object as its id attribute.
id attribute in ObjectAttributes is exactly the same syntax and
semantics as
id attribute in RegistryObject.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getId()
Returns the value of field 'id'. |
boolean |
isValid()
|
abstract void |
marshal(org.xml.sax.DocumentHandler handler)
|
abstract void |
marshal(java.io.Writer out)
|
void |
setId(java.lang.String id)
Sets the value of field 'id'. |
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectRefType
public ObjectRefType()
getId
public java.lang.String getId()
- Returns the value of field 'id'.
- Returns:
- the value of field 'id'.
isValid
public boolean isValid()
marshal
public abstract 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 abstract 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
setId
public void setId(java.lang.String id)
- Sets the value of field 'id'.
- Parameters:
id
- the value of field 'id'.
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Throws:
org.exolab.castor.xml.ValidationException