com.ssx.xml.output
Class Test_Namespace

java.lang.Object
  extended byTestCase
      extended bycom.ssx.xml.output.Test_Namespace

public class Test_Namespace
extends TestCase

Ensure QName data objects work the way they are supposed to.

See Also:
Serialized Form

Constructor Summary
Test_Namespace(String name)
           
 
Method Summary
 void testAccessors()
          QName objects are mutable to allow for re-use
 void testConstructor()
          An initialization constructor is provided for convenience
 void testGetQName()
          The getQName utility method generates the text representation of the qname using the given namespace prefix and the given local name.
 void testGetQNameExpandQNames()
          GetQName is sensitive to a hidden switch that causes it to use the namespace URI instead of the prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test_Namespace

public Test_Namespace(String name)
Parameters:
name - The test suite name
Method Detail

testAccessors

public void testAccessors()
QName objects are mutable to allow for re-use


testConstructor

public void testConstructor()
An initialization constructor is provided for convenience


testGetQName

public void testGetQName()
The getQName utility method generates the text representation of the qname using the given namespace prefix and the given local name. If there is not namespace the local name will be returned.


testGetQNameExpandQNames

public void testGetQNameExpandQNames()
GetQName is sensitive to a hidden switch that causes it to use the namespace URI instead of the prefix. This switch is used for unit testing.