Package org.teiid.query.mapping.xml

Examples of org.teiid.query.mapping.xml.Namespace


        MappingAttribute usenamespace = (MappingAttribute)license.getAttributes().get(0);
       
        assertEquals("usenamespace", usenamespace.getName()); //$NON-NLS-1$
       
        // by the time the document is loaded the namspace must have been resolved.
        Namespace ns = usenamespace.getNamespace();           
        assertEquals("foo", ns.getPrefix()); //$NON-NLS-1$
        assertEquals("http://some.uri/", ns.getUri()); //$NON-NLS-1$
    }
View Full Code Here

TOP

Related Classes of org.teiid.query.mapping.xml.Namespace

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.