本文整理了Java中org.apache.axis.wsdl.toJava.Utils.getLastLocalPart()
方法的一些代码示例,展示了Utils.getLastLocalPart()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.getLastLocalPart()
方法的具体详情如下:
包路径:org.apache.axis.wsdl.toJava.Utils
类名称:Utils
方法名:getLastLocalPart
暂无
代码示例来源:origin: org.apache.axis/axis
public static String getNewQNameWithLastLocalPart(javax.xml.namespace.QName qname) {
return "new javax.xml.namespace.QName(\"" + qname.getNamespaceURI()
+ "\", \"" + getLastLocalPart(qname.getLocalPart()) + "\")";
}
代码示例来源:origin: axis/axis
public static String getNewQNameWithLastLocalPart(javax.xml.namespace.QName qname) {
return "new javax.xml.namespace.QName(\"" + qname.getNamespaceURI()
+ "\", \"" + getLastLocalPart(qname.getLocalPart()) + "\")";
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
public static String getNewQNameWithLastLocalPart(javax.xml.namespace.QName qname) {
return "new javax.xml.namespace.QName(\"" + qname.getNamespaceURI()
+ "\", \"" + getLastLocalPart(qname.getLocalPart()) + "\")";
}
代码示例来源:origin: axis/axis
/**
* generate a name for the attribute
* @param attr
* @return name
*/
private String getAttributeName(ContainedAttribute attr) {
String variableName = attr.getName();
if (variableName == null) {
variableName = Utils.getLastLocalPart(attr.getQName().getLocalPart());
}
return variableName;
}
代码示例来源:origin: org.apache.axis/axis
/**
* generate a name for the attribute
* @param attr
* @return name
*/
private String getAttributeName(ContainedAttribute attr) {
String variableName = attr.getName();
if (variableName == null) {
variableName = Utils.getLastLocalPart(attr.getQName().getLocalPart());
}
return variableName;
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* generate a name for the attribute
* @param attr
* @return name
*/
private String getAttributeName(ContainedAttribute attr) {
String variableName = attr.getName();
if (variableName == null) {
variableName = Utils.getLastLocalPart(attr.getQName().getLocalPart());
}
return variableName;
}
代码示例来源:origin: axis/axis
/**
* @param typeQName QName for containing xml type
* @param xmlName QName for element
* @return
*/
public String getJavaVariableName(QName typeQName, QName xmlName, boolean isElement) {
String javaName = getJavaVariableNameHook(typeQName, xmlName, isElement);
if (javaName == null) {
String elemName = Utils.getLastLocalPart(xmlName.getLocalPart());
javaName = Utils.xmlNameToJava(elemName);
}
return javaName;
}
代码示例来源:origin: org.apache.axis/axis
/**
* @param typeQName QName for containing xml type
* @param xmlName QName for element
* @return
*/
public String getJavaVariableName(QName typeQName, QName xmlName, boolean isElement) {
String javaName = getJavaVariableNameHook(typeQName, xmlName, isElement);
if (javaName == null) {
String elemName = Utils.getLastLocalPart(xmlName.getLocalPart());
javaName = Utils.xmlNameToJava(elemName);
}
return javaName;
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* @param typeQName QName for containing xml type
* @param xmlName QName for element
* @return
*/
public String getJavaVariableName(QName typeQName, QName xmlName, boolean isElement) {
String javaName = getJavaVariableNameHook(typeQName, xmlName, isElement);
if (javaName == null) {
String elemName = Utils.getLastLocalPart(xmlName.getLocalPart());
javaName = Utils.xmlNameToJava(elemName);
}
return javaName;
}
代码示例来源:origin: axis/axis
param.setQName(new QName(paramName.getNamespaceURI(),Utils.getLastLocalPart(paramName.getLocalPart())));
param.setTypeQName( xmlType );
param.setJavaType( javaType );
代码示例来源:origin: org.apache.axis/axis
param.setQName(new QName(paramName.getNamespaceURI(),Utils.getLastLocalPart(paramName.getLocalPart())));
param.setTypeQName( xmlType );
param.setJavaType( javaType );
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
param.setQName(new QName(paramName.getNamespaceURI(),Utils.getLastLocalPart(paramName.getLocalPart())));
param.setTypeQName( xmlType );
param.setJavaType( javaType );
代码示例来源:origin: axis/axis
param.setQName(new QName(paramName.getNamespaceURI(),Utils.getLastLocalPart(paramName.getLocalPart())));
param.setTypeQName(xmlType);
param.setJavaType(javaType);
代码示例来源:origin: org.apache.axis/axis
param.setQName(new QName(paramName.getNamespaceURI(),Utils.getLastLocalPart(paramName.getLocalPart())));
param.setTypeQName(xmlType);
param.setJavaType(javaType);
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
param.setQName(new QName(paramName.getNamespaceURI(),Utils.getLastLocalPart(paramName.getLocalPart())));
param.setTypeQName(xmlType);
param.setJavaType(javaType);
内容来源于网络,如有侵权,请联系作者删除!