本文整理了Java中org.apache.woden.XMLElement.getQName()
方法的一些代码示例,展示了XMLElement.getQName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLElement.getQName()
方法的具体详情如下:
包路径:org.apache.woden.XMLElement
类名称:XMLElement
方法名:getQName
[英]Return the qualified name of this element.
[中]返回此元素的限定名称。
代码示例来源:origin: org.apache.woden/woden-impl-commons
private QName convertQName(XMLElement ownerEl, String qnameStr)
throws WSDLException {
QName qname = null;
try {
qname = ownerEl.getQName(qnameStr);
} catch (WSDLException e) {
// TODO: line&col nos.
// TODO: use correct error number
getErrorReporter().reportError(new ErrorLocatorImpl(), "WSDL510",
new Object[] { qnameStr }, ErrorReporter.SEVERITY_ERROR, e);
}
return qname;
}
代码示例来源:origin: org.apache.woden/woden-core
private QName convertQName(XMLElement ownerEl, String qnameStr)
throws WSDLException {
QName qname = null;
try {
qname = ownerEl.getQName(qnameStr);
} catch (WSDLException e) {
// TODO: line&col nos.
// TODO: use correct error number
getErrorReporter().reportError(new ErrorLocatorImpl(), "WSDL510",
new Object[] { qnameStr }, ErrorReporter.SEVERITY_ERROR, e);
}
return qname;
}
代码示例来源:origin: org.apache.woden/woden-core
try
qname = ownerEl.getQName(qnString);
代码示例来源:origin: org.apache.woden/woden-core
qn = ownerEl.getQName(attrValue);
代码示例来源:origin: org.apache.woden/woden-core
try
qname = ownerEl.getQName(qnString);
代码示例来源:origin: org.apache.woden/woden-impl-commons
try
qname = ownerEl.getQName(qnString);
代码示例来源:origin: org.apache.woden/woden-impl-commons
try
qname = ownerEl.getQName(qnString);
代码示例来源:origin: org.apache.woden/woden-impl-commons
qn = ownerEl.getQName(attrValue);
代码示例来源:origin: org.apache.woden/woden-impl-commons
protected Object convert(XMLElement ownerEl, String attrValue) throws WSDLException
{
Exception ex = null;
QName qn = null;
if(attrValue != null)
{
try
{
qn = ownerEl.getQName(attrValue);
}
catch (WSDLException e)
{
ex = e;
}
}
if(qn == null)
{
setValid(false);
getErrorReporter().reportError(
new ErrorLocatorImpl(), //TODO line&col nos.
"WSDL507", //TODO chg to WSDL505 and test
new Object[] {attrValue},
ErrorReporter.SEVERITY_ERROR,
ex);
}
return qn;
}
代码示例来源:origin: org.apache.woden/woden-core
intFltQN = bindFaultEl.getQName(ref);
fault.setRef(intFltQN);
} catch (WSDLException e) {
new ErrorLocatorImpl(), //TODO line&col nos.
"WSDL505",
new Object[] {ref, bindFaultEl.getQName()},
ErrorReporter.SEVERITY_ERROR);
tempElQN = tempEl.getQName();
代码示例来源:origin: org.apache.woden/woden-core
protected Object convert(XMLElement ownerEl, String attrValue) throws WSDLException
{
Exception ex = null;
QName qn = null;
if(attrValue != null)
{
try
{
qn = ownerEl.getQName(attrValue);
}
catch (WSDLException e)
{
ex = e;
}
}
if(qn == null)
{
setValid(false);
getErrorReporter().reportError(
new ErrorLocatorImpl(), //TODO line&col nos.
"WSDL507", //TODO chg to WSDL505 and test
new Object[] {attrValue},
ErrorReporter.SEVERITY_ERROR,
ex);
}
return qn;
}
代码示例来源:origin: org.apache.woden/woden-core
throws WSDLException {
QName elementType = el.getQName();
URI namespaceURI = el.getNamespaceURI();
代码示例来源:origin: org.apache.woden/woden-impl-commons
throws WSDLException {
QName elementType = el.getQName();
URI namespaceURI = el.getNamespaceURI();
代码示例来源:origin: org.apache.woden/woden-core
QName qname = faultEl.getQName(element);
fault.setElement(new QNameTokenUnion(qname));
} catch (WSDLException e) {
new ErrorLocatorImpl(), //TODO line&col nos.
"WSDL505",
new Object[] {element, faultEl.getQName()},
ErrorReporter.SEVERITY_ERROR);
tempElQN = tempEl.getQName();
代码示例来源:origin: org.apache.woden/woden-impl-commons
tempElQN = tempEl.getQName();
代码示例来源:origin: org.apache.woden/woden-core
tempElQN = tempEl.getQName();
代码示例来源:origin: org.apache.woden/woden-impl-commons
QName qname = extEl.getQName(elemDeclQN);
soapHdr.setElementName(qname);
} catch (WSDLException e) {
if (Constants.Q_ELEM_DOCUMENTATION.equals(tempEl.getQName()))
代码示例来源:origin: org.apache.woden/woden-core
if (Constants.Q_ELEM_DOCUMENTATION.equals(tempEl.getQName()))
代码示例来源:origin: org.apache.woden/woden-impl-commons
QName qname = extEl.getQName(typeQN);
httpHdr.setTypeName(qname);
} catch (WSDLException e) {
代码示例来源:origin: org.apache.woden/woden-core
QName qname = extEl.getQName(typeQN);
httpHdr.setTypeName(qname);
} catch (WSDLException e) {
内容来源于网络,如有侵权,请联系作者删除!