org.apache.xmlbeans.SchemaTypeLoader.findAttributeType()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(59)

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

SchemaTypeLoader.findAttributeType介绍

[英]Returns the attribute type containing the given attribute name, or null if none.
[中]返回包含给定属性名称的属性类型,如果没有,则返回null。

代码示例

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

SchemaTypeImpl findAttributeType(QName name, String chameleonNamespace, String sourceNamespace)
{
  name = compatName(name, chameleonNamespace);
  SchemaTypeImpl result = (SchemaTypeImpl)_attributeTypes.get(name);
  boolean foundOnLoader = false;
  if (result == null)
  {
    result = (SchemaTypeImpl)_importingLoader.findAttributeType(name);
    foundOnLoader = result != null;
  }
  if (!foundOnLoader && sourceNamespace != null)
    registerDependency(sourceNamespace, name.getNamespaceURI());
  return result;
}

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

validationType = _stl.findAttributeType((QName)_attNamesList.get(0));
if (validationType==null)

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

SchemaTypeImpl findAttributeType(QName name, String chameleonNamespace, String sourceNamespace)
{
  name = compatName(name, chameleonNamespace);
  SchemaTypeImpl result = (SchemaTypeImpl)_attributeTypes.get(name);
  boolean foundOnLoader = false;
  if (result == null)
  {
    result = (SchemaTypeImpl)_importingLoader.findAttributeType(name);
    foundOnLoader = result != null;
  }
  if (!foundOnLoader && sourceNamespace != null)
    registerDependency(sourceNamespace, name.getNamespaceURI());
  return result;
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

SchemaTypeImpl findAttributeType(QName name, String chameleonNamespace, String sourceNamespace)
{
  name = compatName(name, chameleonNamespace);
  SchemaTypeImpl result = (SchemaTypeImpl)_attributeTypes.get(name);
  boolean foundOnLoader = false;
  if (result == null)
  {
    result = (SchemaTypeImpl)_importingLoader.findAttributeType(name);
    foundOnLoader = result != null;
  }
  if (!foundOnLoader && sourceNamespace != null)
    registerDependency(sourceNamespace, name.getNamespaceURI());
  return result;
}

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

Locale.toFirstNormalAttr(c) && !Locale.toNextNormalAttr(c)
c._locale._schemaTypeLoader.findAttributeType(c.getName()) :
null;

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

validationType = _stl.findAttributeType((QName)_attNamesList.get(0));
if (validationType==null)

代码示例来源:origin: com.github.pjfanning/xmlbeans

validationType = _stl.findAttributeType((QName)_attNamesList.get(0));
if (validationType==null)

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

Locale.toFirstNormalAttr(c) && !Locale.toNextNormalAttr(c)
c._locale._schemaTypeLoader.findAttributeType(c.getName()) :
null;

代码示例来源:origin: com.github.pjfanning/xmlbeans

Locale.toFirstNormalAttr(c) && !Locale.toNextNormalAttr(c)
c._locale._schemaTypeLoader.findAttributeType(c.getName()) :
null;

相关文章

微信公众号

最新文章

更多