org.objectweb.jonas_ejb.deployment.xml
Class EjbRelationshipRoleImpl

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--org.objectweb.jonas_ejb.deployment.xml.EjbRelationshipRoleImpl
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, EjbRelationshipRole, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, java.io.Serializable, Unmarshallable

public class EjbRelationshipRoleImpl
extends org.xml.sax.helpers.DefaultHandler
implements Unmarshallable, EjbRelationshipRole

See Also:
Serialized Form

Fields inherited from interface org.objectweb.jonas_ejb.deployment.xml.EjbRelationshipRole
ZEUS_ATTRIBUTES, ZEUS_ELEMENTS, ZEUS_XML_NAME
 
Constructor Summary
EjbRelationshipRoleImpl()
           
 
Method Summary
 void characters(char[] ch, int start, int len)
           
 void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 CascadeDelete getCascadeDelete()
           
 CmrField getCmrField()
           
 Unmarshallable getCurrentUNode()
           
 Description getDescription()
           
 EjbRelationshipRoleName getEjbRelationshipRoleName()
           
 java.lang.String getId()
           
 Multiplicity getMultiplicity()
           
 Unmarshallable getParentUNode()
           
 RelationshipRoleSource getRelationshipRoleSource()
           
 void marshal(java.io.File file)
           
 void marshal(java.io.OutputStream outputStream)
           
 void marshal(java.io.Writer writer)
           
 void setCascadeDelete(CascadeDelete cascadeDelete)
           
 void setCmrField(CmrField cmrField)
           
 void setCurrentUNode(Unmarshallable currentUNode)
           
 void setDescription(Description description)
           
 void setEjbRelationshipRoleName(EjbRelationshipRoleName ejbRelationshipRoleName)
           
static void setEntityResolver(org.xml.sax.EntityResolver resolver)
           This sets a SAX EntityResolver for this unmarshalling process.
static void setErrorHandler(org.xml.sax.ErrorHandler handler)
           This sets a SAX ErrorHandler for this unmarshalling process.
 void setId(java.lang.String id)
           
 void setMultiplicity(Multiplicity multiplicity)
           
 void setParentUNode(Unmarshallable parentUNode)
           
 void setRelationshipRoleSource(RelationshipRoleSource relationshipRoleSource)
           
 void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)
           
static EjbRelationshipRole unmarshal(java.io.File file)
           
static EjbRelationshipRole unmarshal(java.io.File file, boolean validate)
           
static EjbRelationshipRole unmarshal(java.io.InputStream inputStream)
           
static EjbRelationshipRole unmarshal(java.io.InputStream inputStream, boolean validate)
           
static EjbRelationshipRole unmarshal(java.io.Reader reader)
           
static EjbRelationshipRole unmarshal(java.io.Reader reader, boolean validate)
           
protected  void writeXMLRepresentation(java.io.Writer writer, java.lang.String indent)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
 

Constructor Detail

EjbRelationshipRoleImpl

public EjbRelationshipRoleImpl()
Method Detail

getDescription

public Description getDescription()
Specified by:
getDescription in interface EjbRelationshipRole

setDescription

public void setDescription(Description description)
Specified by:
setDescription in interface EjbRelationshipRole

getEjbRelationshipRoleName

public EjbRelationshipRoleName getEjbRelationshipRoleName()
Specified by:
getEjbRelationshipRoleName in interface EjbRelationshipRole

setEjbRelationshipRoleName

public void setEjbRelationshipRoleName(EjbRelationshipRoleName ejbRelationshipRoleName)
Specified by:
setEjbRelationshipRoleName in interface EjbRelationshipRole

getMultiplicity

public Multiplicity getMultiplicity()
Specified by:
getMultiplicity in interface EjbRelationshipRole

setMultiplicity

public void setMultiplicity(Multiplicity multiplicity)
Specified by:
setMultiplicity in interface EjbRelationshipRole

getCascadeDelete

public CascadeDelete getCascadeDelete()
Specified by:
getCascadeDelete in interface EjbRelationshipRole

setCascadeDelete

public void setCascadeDelete(CascadeDelete cascadeDelete)
Specified by:
setCascadeDelete in interface EjbRelationshipRole

getRelationshipRoleSource

public RelationshipRoleSource getRelationshipRoleSource()
Specified by:
getRelationshipRoleSource in interface EjbRelationshipRole

setRelationshipRoleSource

public void setRelationshipRoleSource(RelationshipRoleSource relationshipRoleSource)
Specified by:
setRelationshipRoleSource in interface EjbRelationshipRole

getCmrField

public CmrField getCmrField()
Specified by:
getCmrField in interface EjbRelationshipRole

setCmrField

public void setCmrField(CmrField cmrField)
Specified by:
setCmrField in interface EjbRelationshipRole

getId

public java.lang.String getId()
Specified by:
getId in interface EjbRelationshipRole

setId

public void setId(java.lang.String id)
Specified by:
setId in interface EjbRelationshipRole

marshal

public void marshal(java.io.File file)
             throws java.io.IOException
Specified by:
marshal in interface EjbRelationshipRole

marshal

public void marshal(java.io.OutputStream outputStream)
             throws java.io.IOException
Specified by:
marshal in interface EjbRelationshipRole

marshal

public void marshal(java.io.Writer writer)
             throws java.io.IOException
Specified by:
marshal in interface EjbRelationshipRole

writeXMLRepresentation

protected void writeXMLRepresentation(java.io.Writer writer,
                                      java.lang.String indent)
                               throws java.io.IOException

setEntityResolver

public static void setEntityResolver(org.xml.sax.EntityResolver resolver)

This sets a SAX EntityResolver for this unmarshalling process.

Parameters:
resolver - the entity resolver to use.

setErrorHandler

public static void setErrorHandler(org.xml.sax.ErrorHandler handler)

This sets a SAX ErrorHandler for this unmarshalling process.

Parameters:
handler - the entity resolver to use.

unmarshal

public static EjbRelationshipRole unmarshal(java.io.File file)
                                     throws java.io.IOException

unmarshal

public static EjbRelationshipRole unmarshal(java.io.File file,
                                            boolean validate)
                                     throws java.io.IOException

unmarshal

public static EjbRelationshipRole unmarshal(java.io.InputStream inputStream)
                                     throws java.io.IOException

unmarshal

public static EjbRelationshipRole unmarshal(java.io.InputStream inputStream,
                                            boolean validate)
                                     throws java.io.IOException

unmarshal

public static EjbRelationshipRole unmarshal(java.io.Reader reader)
                                     throws java.io.IOException

unmarshal

public static EjbRelationshipRole unmarshal(java.io.Reader reader,
                                            boolean validate)
                                     throws java.io.IOException

getParentUNode

public Unmarshallable getParentUNode()
Specified by:
getParentUNode in interface Unmarshallable

setParentUNode

public void setParentUNode(Unmarshallable parentUNode)
Specified by:
setParentUNode in interface Unmarshallable

getCurrentUNode

public Unmarshallable getCurrentUNode()
Specified by:
getCurrentUNode in interface Unmarshallable

setCurrentUNode

public void setCurrentUNode(Unmarshallable currentUNode)
Specified by:
setCurrentUNode in interface Unmarshallable

startElement

public void startElement(java.lang.String namespaceURI,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes atts)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler

endElement

public void endElement(java.lang.String namespaceURI,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler

characters

public void characters(char[] ch,
                       int start,
                       int len)
                throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler