Class AttributeMapTest


  • public class AttributeMapTest
    extends XMLObjectBaseTestCase
    Test the NamespaceManger used by XMLObjects.
    • Constructor Detail

      • AttributeMapTest

        public AttributeMapTest()
    • Method Detail

      • testClear

        public void testClear()
      • testAttributeMapQualifiedAttributes

        public void testAttributeMapQualifiedAttributes()
      • testQNameAttributeValueAsString

        public void testQNameAttributeValueAsString()
      • testQNameAttributeValueAsQName

        public void testQNameAttributeValueAsQName()
      • checkNamespaces

        private void checkNamespaces​(XMLObject xo,
                                     Integer nsSize,
                                     QName... names)
        Check the namespaces produced by the object against the supplied list of QNames.
        Parameters:
        xo - the XMLObject to evaluate
        nsSize - the expected size of the XMLObject's namespace set (may be different than the size of the names list due to duplicates in the latter)
        names - the list of names to check