public class org.apache.axiom.ts.om.sourcedelement.sr.TestGetName extends org.apache.axiom.ts.AxiomTestCase
{
public void <init>(org.apache.axiom.om.OMMetaFactory)
{
org.apache.axiom.om.OMMetaFactory v;
org.apache.axiom.ts.om.sourcedelement.sr.TestGetName v;
v := @this: org.apache.axiom.ts.om.sourcedelement.sr.TestGetName;
v := @parameter: org.apache.axiom.om.OMMetaFactory;
specialinvoke v.<org.apache.axiom.ts.AxiomTestCase: void <init>(org.apache.axiom.om.OMMetaFactory)>(v);
return;
}
protected void runTest() throws java.lang.Throwable
{
org.apache.axiom.om.OMElement v;
org.apache.axiom.ts.om.sourcedelement.util.PullOMDataSource v;
org.apache.axiom.om.OMSourcedElement v;
org.apache.axiom.om.OMMetaFactory v;
org.apache.axiom.ts.om.sourcedelement.sr.TestGetName v;
javax.xml.stream.XMLStreamReader v;
org.apache.axiom.om.OMNamespace v;
int v, v;
org.apache.axiom.om.OMFactory v;
java.lang.String v, v, v;
javax.xml.namespace.QName v;
v := @this: org.apache.axiom.ts.om.sourcedelement.sr.TestGetName;
v = v.<org.apache.axiom.ts.om.sourcedelement.sr.TestGetName: org.apache.axiom.om.OMMetaFactory metaFactory>;
v = interfaceinvoke v.<org.apache.axiom.om.OMMetaFactory: org.apache.axiom.om.OMFactory getOMFactory()>();
v = interfaceinvoke v.<org.apache.axiom.om.OMFactory: org.apache.axiom.om.OMElement createOMElement(java.lang.String,org.apache.axiom.om.OMNamespace)>("root", null);
v = new org.apache.axiom.ts.om.sourcedelement.util.PullOMDataSource;
specialinvoke v.<org.apache.axiom.ts.om.sourcedelement.util.PullOMDataSource: void <init>(java.lang.String)>("<p:el xmlns:p=\'urn:ns\'>content</p:el>");
v = interfaceinvoke v.<org.apache.axiom.om.OMFactory: org.apache.axiom.om.OMNamespace createOMNamespace(java.lang.String,java.lang.String)>("urn:ns", null);
v = interfaceinvoke v.<org.apache.axiom.om.OMFactory: org.apache.axiom.om.OMSourcedElement createOMElement(org.apache.axiom.om.OMDataSource,java.lang.String,org.apache.axiom.om.OMNamespace)>(v, "el", v);
interfaceinvoke v.<org.apache.axiom.om.OMElement: void addChild(org.apache.axiom.om.OMNode)>(v);
v = interfaceinvoke v.<org.apache.axiom.om.OMElement: javax.xml.stream.XMLStreamReader getXMLStreamReader()>();
v = interfaceinvoke v.<javax.xml.stream.XMLStreamReader: int next()>();
staticinvoke <org.apache.axiom.ts.om.sourcedelement.sr.TestGetName: void assertEquals(int,int)>(1, v);
v = interfaceinvoke v.<javax.xml.stream.XMLStreamReader: int next()>();
staticinvoke <org.apache.axiom.ts.om.sourcedelement.sr.TestGetName: void assertEquals(int,int)>(1, v);
v = interfaceinvoke v.<javax.xml.stream.XMLStreamReader: javax.xml.namespace.QName getName()>();
v = virtualinvoke v.<javax.xml.namespace.QName: java.lang.String getPrefix()>();
staticinvoke <org.apache.axiom.ts.om.sourcedelement.sr.TestGetName: void assertEquals(java.lang.String,java.lang.String)>("p", v);
v = virtualinvoke v.<javax.xml.namespace.QName: java.lang.String getNamespaceURI()>();
staticinvoke <org.apache.axiom.ts.om.sourcedelement.sr.TestGetName: void assertEquals(java.lang.String,java.lang.String)>("urn:ns", v);
v = virtualinvoke v.<javax.xml.namespace.QName: java.lang.String getLocalPart()>();
staticinvoke <org.apache.axiom.ts.om.sourcedelement.sr.TestGetName: void assertEquals(java.lang.String,java.lang.String)>("el", v);
return;
}
}