Package org.apache.axiom.om

Examples of org.apache.axiom.om.OMEntityReference


    }

    protected void runTest() throws Throwable {
        OMFactory factory = metaFactory.getOMFactory();
        OMElement parent = factory.createOMElement("test", null);
        OMEntityReference entref = factory.createOMEntityReference(parent, "testref");
        assertSame(parent, entref.getParent());
        assertEquals("testref", entref.getName());
        assertNull(entref.getReplacementText());
    }
View Full Code Here


        super(metaFactory);
    }

    protected void runTest() throws Throwable {
        OMFactory factory = metaFactory.getOMFactory();
        OMEntityReference entref = factory.createOMEntityReference(null, "testref");
        assertNull(entref.getParent());
        assertEquals("testref", entref.getName());
        assertNull(entref.getReplacementText());
    }
View Full Code Here

TOP

Related Classes of org.apache.axiom.om.OMEntityReference

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.