public class StartupFinder extends Object implements XMLToObjectMapper
Modifier and Type | Method and Description |
---|---|
Map<QName,Class<? extends StartupFactory>> |
getFactoryMap() |
static StartupFinder |
getInstance() |
Startup |
getObjectFromOMNode(org.apache.axiom.om.OMNode om,
Properties properties)
Allow the startup finder to act as an XMLToObjectMapper for
Startup (i.e.
|
Map<QName,Class<? extends StartupSerializer>> |
getSerializerMap() |
Startup |
getStartup(org.apache.axiom.om.OMElement element,
Properties properties)
This method returns a Processor given an OMElement.
|
boolean |
isStartup(QName name)
Check whether an element with the given qualified name defines a startup.
|
static void |
reset()
Force re initialization next time
|
org.apache.axiom.om.OMElement |
serializeStartup(org.apache.axiom.om.OMElement parent,
Startup startup)
This method will serialize the config using the supplied QName (looking
up the right class to do it)
|
public static StartupFinder getInstance()
public static void reset()
public boolean isStartup(QName name)
name
- to be identified whether it is a startup or notpublic Startup getStartup(org.apache.axiom.om.OMElement element, Properties properties)
element
- configuration for creating the startupproperties
- bag of properties with additional informationpublic org.apache.axiom.om.OMElement serializeStartup(org.apache.axiom.om.OMElement parent, Startup startup)
parent
- -
Parent OMElement to which the created element will be added if
not nullstartup
- -
Startup to be serializedpublic Map<QName,Class<? extends StartupFactory>> getFactoryMap()
public Map<QName,Class<? extends StartupSerializer>> getSerializerMap()
public Startup getObjectFromOMNode(org.apache.axiom.om.OMNode om, Properties properties)
getObjectFromOMNode
in interface XMLToObjectMapper
om
- to build the startup objectproperties
- bag of properties with additional informationCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.