com.adactus.mpeg21.xml
Class NamespaceXMLBinding

java.lang.Object
  extended by javolution.xml.XMLBinding
      extended by com.adactus.mpeg21.xml.NamespaceXMLBinding
All Implemented Interfaces:
java.io.Serializable, 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
NamespaceXMLBinding()
           
 
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

NamespaceXMLBinding

public NamespaceXMLBinding()
Method Detail

setAlias

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.

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