net.officefloor.plugin.xml.marshall.tree
Class ReferencedXmlMappingRegistry
java.lang.Object
net.officefloor.plugin.xml.marshall.tree.ReferencedXmlMappingRegistry
public class ReferencedXmlMappingRegistry
- extends Object
Registry of XmlMapping
instances by id.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registry
protected final Map<String,XmlMapping> registry
- Registry of the
XmlMapping instances.
ReferencedXmlMappingRegistry
public ReferencedXmlMappingRegistry()
registerXmlMapping
public void registerXmlMapping(String id,
XmlMapping xmlMapping)
- Registers the
XmlMapping.
- Parameters:
id - Id by which to reference the XmlMapping.xmlMapping - XmlMapping to register.
getXmlMapping
public XmlMapping getXmlMapping(String id)
- Obtains the
XmlMapping registered under the id.
- Parameters:
id - Id of the XmlMapping.
- Returns:
XmlMapping registered under id or null if
none registered by id.
Copyright © 2005-2013. All Rights Reserved.