org.ow2.util.xmlconfig.mapping
Class XMLMapping

java.lang.Object
  extended by org.ow2.util.xmlconfig.mapping.XMLMapping

public class XMLMapping
extends java.lang.Object

Mapping for a given name space.
It contains all classes mapping.

Author:
Florent Benoit

Constructor Summary
XMLMapping()
          Default constructor.
 
Method Summary
 void addClassMapping(ClassMapping classMapping)
          Add a given class mapping object.
 ClassMapping getClassMapping(java.lang.String className)
          Gets the class mapping for the given class name.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLMapping

public XMLMapping()
Default constructor.

Method Detail

addClassMapping

public void addClassMapping(ClassMapping classMapping)
Add a given class mapping object.

Parameters:
classMapping - the given class.

getClassMapping

public ClassMapping getClassMapping(java.lang.String className)
Gets the class mapping for the given class name.

Parameters:
className - the given className.
Returns:
the class mapping or null if not found.

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
string representation


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.