org.apache.muse.core.descriptor
Class SimpleCapabilityDescriptor

java.lang.Object
  extended by org.apache.muse.core.descriptor.SimpleCapabilityDescriptor
All Implemented Interfaces:
CapabilityDescriptor, XmlSerializable
Direct Known Subclasses:
OSGiCapabilityDescriptor

public class SimpleCapabilityDescriptor
extends Object
implements CapabilityDescriptor

Author:
Dan Jemiolo (danj)

Constructor Summary
SimpleCapabilityDescriptor()
           
 
Method Summary
protected  Class createImplementationClass(Element xml, Environment env)
           
protected  InitParamDescriptor createInitParamDescriptor()
           
protected  PersistenceDefinition createPersistence(Element xml, Environment env)
           
protected  PersistenceDescriptor createPersistenceDescriptor()
           
protected  String createURI(Element xml)
           
 CapabilityDefinition getCapabilityDefinition()
           
 void load(Element xml, Environment environment)
           
 void setCapabilityDefinition(CapabilityDefinition definition)
           
 Element toXML()
          Converts this object into an XML representation, as defined by its related schema or specification.
 Element toXML(Document doc)
          Converts this object into an XML representation, as defined by its related schema or specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCapabilityDescriptor

public SimpleCapabilityDescriptor()
Method Detail

createImplementationClass

protected Class createImplementationClass(Element xml,
                                          Environment env)

createInitParamDescriptor

protected InitParamDescriptor createInitParamDescriptor()

createPersistence

protected PersistenceDefinition createPersistence(Element xml,
                                                  Environment env)
                                           throws SoapFault
Throws:
SoapFault

createPersistenceDescriptor

protected PersistenceDescriptor createPersistenceDescriptor()

createURI

protected String createURI(Element xml)

getCapabilityDefinition

public CapabilityDefinition getCapabilityDefinition()
Specified by:
getCapabilityDefinition in interface CapabilityDescriptor

load

public void load(Element xml,
                 Environment environment)
          throws SoapFault
Specified by:
load in interface CapabilityDescriptor
Throws:
SoapFault

setCapabilityDefinition

public void setCapabilityDefinition(CapabilityDefinition definition)
Specified by:
setCapabilityDefinition in interface CapabilityDescriptor

toXML

public Element toXML()
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Returns:
An XML representation of this object.

toXML

public Element toXML(Document doc)
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Parameters:
doc - The DOM Document that will be used to create all of the nodes in the resulting XML fragment.
Returns:
An XML representation of this object.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.