org.apache.muse.core.descriptor
Class SimpleInitParamDescriptor

java.lang.Object
  extended by org.apache.muse.core.descriptor.SimpleInitParamDescriptor
All Implemented Interfaces:
InitParamDescriptor, XmlSerializable

public class SimpleInitParamDescriptor
extends Object
implements InitParamDescriptor

Author:
Dan Jemiolo (danj)

Constructor Summary
SimpleInitParamDescriptor()
           
 
Method Summary
protected  Map createInitializationParameters(Element xml)
           
 Map getInitializationParameters()
           
 void load(Element elementContainingInitParams)
           
 void setInitializationParameters(Map parameters)
           
 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

SimpleInitParamDescriptor

public SimpleInitParamDescriptor()
Method Detail

createInitializationParameters

protected Map createInitializationParameters(Element xml)

getInitializationParameters

public Map getInitializationParameters()
Specified by:
getInitializationParameters in interface InitParamDescriptor

load

public void load(Element elementContainingInitParams)
Specified by:
load in interface InitParamDescriptor
Parameters:
elementContainingInitParams - The element that contains zero or more child elements named init-param, not the init-param element(s) itself.

setInitializationParameters

public void setInitializationParameters(Map parameters)
Specified by:
setInitializationParameters in interface InitParamDescriptor

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.