Class NamespaceXMLBinding

  extended by javolution.xml.XMLBinding
      extended by com.adactus.mpeg21.xml.NamespaceXMLBinding
All Implemented Interfaces:, javolution.lang.Reusable, javolution.xml.XMLSerializable

public class NamespaceXMLBinding
extends javolution.xml.XMLBinding

An XML binding with namespace support. This instance is thread-safe.

See Also:
Serialized Form

Constructor Summary
Method Summary
 void setAlias(java.lang.Class cls, java.lang.String uri, java.lang.String localName)
          Sets the alias of the specified class.
Methods inherited from class javolution.xml.XMLBinding
getFormat, reset, setAlias, setClassAttribute, setClassAttribute
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NamespaceXMLBinding()
Method Detail


public void setAlias(java.lang.Class cls,
                     java.lang.String uri,
                     java.lang.String localName)
Sets the alias of the specified class. Classes may have multiple aliases but any given alias maps to a single class.

cls - the class being aliased.
uri - the namespace for teh specified class.
localName - the alias for the specified class.