本文整理了Java中org.apache.axis.wsdl.toJava.Utils.isXsNode()
方法的一些代码示例,展示了Utils.isXsNode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.isXsNode()
方法的具体详情如下:
包路径:org.apache.axis.wsdl.toJava.Utils
类名称:Utils
方法名:isXsNode
[英]Determines if the DOM Node represents an xs:
[中]确定DOM节点是否表示xs:
代码示例来源:origin: axis/axis
public static boolean shouldEmit(TypeEntry type) {
// 1) Don't register types that are base (primitive) types
// or attributeGroups or xs:groups.
// If the baseType != null && getRefType() != null this
// is a simpleType that must be registered.
// 2) Don't register the special types for collections
// (indexed properties) or elements
// 3) Don't register types that are not referenced
// or only referenced in a literal context.
return (!(((type.getBaseType() != null) && (type.getRefType() == null))
|| (type instanceof CollectionTE)
|| (type instanceof Element) || !type.isReferenced()
|| type.isOnlyLiteralReferenced()
|| ((type.getNode() != null)
&& (isXsNode(type.getNode(), "group") ||
isXsNode(type.getNode(), "attributeGroup")))));
}
代码示例来源:origin: org.apache.axis/axis
public static boolean shouldEmit(TypeEntry type) {
// 1) Don't register types that are base (primitive) types
// or attributeGroups or xs:groups.
// If the baseType != null && getRefType() != null this
// is a simpleType that must be registered.
// 2) Don't register the special types for collections
// (indexed properties) or elements
// 3) Don't register types that are not referenced
// or only referenced in a literal context.
return (!(((type.getBaseType() != null) && (type.getRefType() == null))
|| (type instanceof CollectionTE)
|| (type instanceof Element) || !type.isReferenced()
|| type.isOnlyLiteralReferenced()
|| ((type.getNode() != null)
&& (isXsNode(type.getNode(), "group") ||
isXsNode(type.getNode(), "attributeGroup")))));
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
public static boolean shouldEmit(TypeEntry type) {
// 1) Don't register types that are base (primitive) types
// or attributeGroups or xs:groups.
// If the baseType != null && getRefType() != null this
// is a simpleType that must be registered.
// 2) Don't register the special types for collections
// (indexed properties) or elements
// 3) Don't register types that are not referenced
// or only referenced in a literal context.
return (!(((type.getBaseType() != null) && (type.getRefType() == null))
|| (type instanceof CollectionTE)
|| (type instanceof Element) || !type.isReferenced()
|| type.isOnlyLiteralReferenced()
|| ((type.getNode() != null)
&& (isXsNode(type.getNode(), "group") ||
isXsNode(type.getNode(), "attributeGroup")))));
}
代码示例来源:origin: axis/axis
&& !Utils.isXsNode(type.getNode(), "attributeGroup")
&& !Utils.isXsNode(type.getNode(), "group")
&& type.isReferenced() && isType
&& (type.getBaseType() == null)) {
&& !Utils.isXsNode(type.getNode(), "attributeGroup")
&& !Utils.isXsNode(type.getNode(), "group")
&& type.isReferenced() && isType
&& (type.getBaseType() == null)) {
代码示例来源:origin: org.apache.axis/axis
&& !Utils.isXsNode(type.getNode(), "attributeGroup")
&& !Utils.isXsNode(type.getNode(), "group")
&& type.isReferenced() && isType
&& (type.getBaseType() == null)) {
&& !Utils.isXsNode(type.getNode(), "attributeGroup")
&& !Utils.isXsNode(type.getNode(), "group")
&& type.isReferenced() && isType
&& (type.getBaseType() == null)) {
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
&& !Utils.isXsNode(type.getNode(), "attributeGroup")
&& !Utils.isXsNode(type.getNode(), "group")
&& type.isReferenced() && isType
&& (type.getBaseType() == null)) {
&& !Utils.isXsNode(type.getNode(), "attributeGroup")
&& !Utils.isXsNode(type.getNode(), "group")
&& type.isReferenced() && isType
&& (type.getBaseType() == null)) {
内容来源于网络,如有侵权,请联系作者删除!