Code examples for QName

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
59:	mapper.registerRootElement(new QName(namespace, "server"), parser); 
Full Snippet Info
7
CodeRank
28:	qn = new QName(uri,localName, "s"); 
29:	qName = qn.getPrefix() + ":" + qn.getLocalPart(); 
30:	if (!qn.getPrefix().equals("s")) { // only a problem with MOXy 
Full Snippet Info
7
CodeRank
75:	QName rootQName = new QName(name.getNamespaceURI(), name.getLocalPart()); 
-
78:	expected = Collections.singletonList(new XPathUtil.Step(rootQName, 1)); 
-
82:	expected = Collections.singletonList(new XPathUtil.Step(rootQName, 1)); 
-
86:	expected = Collections.singletonList(new XPathUtil.Step(rootQName, 1)); 
-
91:	new XPathUtil.Step(new QName(rootQName.getNamespaceURI(), "measurement"), 2), 
92:	new XPathUtil.Step(new QName(rootQName.getNamespaceURI(), "result"), 1) }); 
-
98:	new XPathUtil.Step(new QName(rootQName.getNamespaceURI(), "measurement"), 1), 
99:	new XPathUtil.Step(new QName(rootQName.getNamespaceURI(), "result"), 1) }); 
-
104:	.getNamespaceURI(), "measurement"), 5) }); 
Full Snippet Info
7
CodeRank
83:	return this.name.getLocalPart(); 
Full Snippet Info
7
CodeRank
72:	final QName serviceName = new QName("org.jboss.as.test.integration.ws.context.as1605", "EJB3EndpointService"); 
Full Snippet Info
7
CodeRank
171:	reader.require(START_ELEMENT, memberName.getNamespaceURI(), memberName.getLocalPart()); 
-
212:	consume(reader, memberName); 
-
214:	reader.require(END_ELEMENT, memberName.getNamespaceURI(), memberName.getLocalPart()); 
Full Snippet Info
7
CodeRank
31:	if("success".equals(name.getLocalPart())) { 
Full Snippet Info
7
CodeRank
54:	final QName serviceName = new QName(TARGET_NAMESPACE, SERVICE_NAME); 
Full Snippet Info
7
CodeRank
83:	QName serviceName = new QName("http://www.jboss.org/jbossws/ws-extensions/wssecuritypolicy", "EncryptSecurityService"); 
Full Snippet Info
7
CodeRank
121:	String prefix = qName.getPrefix(); 
Full Snippet Info
6
CodeRank
115:	if ("LowerCorner".equals(name.getLocalPart()) || "UpperCorner".equals(name.getLocalPart())) { 
-
118:	Object value = super.getProperty(object, name); 
-
124:	return super.getProperty(object, name); 
Full Snippet Info
6
CodeRank
33:	Assert.assertEquals("http://customerservice.example.com/", name.getNamespaceURI()); 
34:	Assert.assertEquals("getCustomersByName", name.getLocalPart()); 
-
56:	Assert.assertEquals("test", name2.getLocalPart()); 
Full Snippet Info
6
CodeRank
71:	String nsURI = qname.getNamespaceURI(); 
72:	String localPart = qname.getLocalPart(); 
Full Snippet Info
6
CodeRank
28:	private final static QName _SayHello_QNAME = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "sayHello"); 
Full Snippet Info
7
CodeRank
93:	QName serviceName = new QName("http://jbossws.org/injection", "EJB3Service"); 
Full Snippet Info
7
CodeRank
86:	if ("srsName".equals(name.getLocalPart())) { 
-
94:	if (GML.id.equals(name)) { 
-
98:	if (GML.name.equals(name)) { 
-
102:	if (GML.description.equals(name)) { 
Full Snippet Info
6
CodeRank
182:	return (getNamespaceUri() != null ? new QName(getNamespaceUri(), name) : new QName(name)); 
Full Snippet Info
6
CodeRank
99:	if ((OGC.Logical_Operators.equals(name) 
100:	|| org.geotools.filter.v1_1.OGC.LogicalOperators.equals(name)) 
-
105:	if ("Comparison_Operators".equals(name.getLocalPart()) 
106:	|| "ComparisonOperators".equals(name.getLocalPart()) /* 1.1 */) { 
-
110:	if ("Arithmetic_Operators".equals(name.getLocalPart()) 
111:	|| "ArithmeticOperators".equals(name.getLocalPart()) /* 1.1 */) { 
Full Snippet Info
6
CodeRank
116:	if (OGC.PropertyName.equals(name)) { 
-
120:	if (OGC.Literal.equals(name)) { 
-
124:	if ("wildCard".equals(name.getLocalPart())) { 
-
128:	if ("singleChar".equals(name.getLocalPart())) { 
-
132:	if ("escape".equals(name.getLocalPart()) || "escapeChar".equals(name.getLocalPart())) { 
Full Snippet Info
6
CodeRank
149:	return DatatypeConverterImpl.getInstance().printQName( 
-
154:	if ( qName.getPrefix() == null || qName.getPrefix().equals( "") ) { 
155:	return qName.getLocalPart(); 
-
158:	return qName.getPrefix() + ":" + qName.getLocalPart(); 
Full Snippet Info
6
CodeRank