org.apache.axis.wsdl.toJava.Utils.isXsNode()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(74)

本文整理了Java中org.apache.axis.wsdl.toJava.Utils.isXsNode()方法的一些代码示例,展示了Utils.isXsNode()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.isXsNode()方法的具体详情如下:
包路径:org.apache.axis.wsdl.toJava.Utils
类名称:Utils
方法名:isXsNode

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)) {

相关文章

微信公众号

最新文章

更多