gpt4 book ai didi

org.eclipse.xsd.XSDAttributeGroupDefinition.getTargetNamespace()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 13:15:05 27 4
gpt4 key购买 nike

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

XSDAttributeGroupDefinition.getTargetNamespace介绍

暂无

代码示例

代码示例来源:origin: geotools/geotools

protected void buildAttributeGroupIndex() {
  attributeGroupIndex = new HashMap();
  for (int i = 0; i < schemas.length; i++) {
    XSDSchema schema = schemas[i];
    for (Iterator g = schema.getAttributeGroupDefinitions().iterator(); g.hasNext(); ) {
      XSDAttributeGroupDefinition group = (XSDAttributeGroupDefinition) g.next();
      QName qName = new QName(group.getTargetNamespace(), group.getName());
      attributeGroupIndex.put(qName, group);
    }
  }
}

代码示例来源:origin: org.geotools.xsd/gt-core

protected void buildAttributeGroupIndex() {
  attributeGroupIndex = new HashMap();
  for (int i = 0; i < schemas.length; i++) {
    XSDSchema schema = schemas[i];
    for (Iterator g = schema.getAttributeGroupDefinitions().iterator(); g.hasNext();) {
      XSDAttributeGroupDefinition group = (XSDAttributeGroupDefinition) g.next();
      QName qName = new QName(group.getTargetNamespace(), group.getName());
      attributeGroupIndex.put(qName, group);
    }
  }
}

代码示例来源:origin: org.geotools/gt2-xml-core

protected void buildAttributeGroupIndex() {
  attributeGroupIndex = new HashMap();
  for (int i = 0; i < schemas.length; i++) {
    XSDSchema schema = schemas[i];
    for (Iterator g = schema.getAttributeGroupDefinitions().iterator(); g.hasNext();) {
      XSDAttributeGroupDefinition group = (XSDAttributeGroupDefinition) g.next();
      QName qName = new QName(group.getTargetNamespace(), group.getName());
      attributeGroupIndex.put(qName, group);
    }
  }
}

代码示例来源:origin: org.geotools/gt2-xml-xsd

protected void buildAttributeGroupIndex() {
  attributeGroupIndex = new HashMap();
  for (int i = 0; i < schemas.length; i++) {
    XSDSchema schema = schemas[i];
    for (Iterator g = schema.getAttributeGroupDefinitions().iterator();
        g.hasNext();) {
      XSDAttributeGroupDefinition group = (XSDAttributeGroupDefinition) g
        .next();
      QName qName = new QName(group.getTargetNamespace(),
          group.getName());
      attributeGroupIndex.put(qName, group);
    }
  }
}

代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui

public List getAttributeGroupList(XSDSchema xsdSchema, boolean showFromIncludes)
{
 List attributeGroupList = new ArrayList();
 for (Iterator i = xsdSchema.getAttributeGroupDefinitions().iterator(); i.hasNext();)
 {
  XSDAttributeGroupDefinition attrGroup = (XSDAttributeGroupDefinition) i.next();
  if (isSameNamespace(attrGroup.getTargetNamespace(), xsdSchema.getTargetNamespace()) && (attrGroup.getRootContainer() == xsdSchema || showFromIncludes))
  {
   attributeGroupList.add(attrGroup);
  }
 }
 List adapterList = new ArrayList();
 populateAdapterList(attributeGroupList, adapterList);
 return adapterList;
}

代码示例来源:origin: org.eclipse/org.eclipse.xsd

@Override
protected void patch()
{
 analysisState = UNANALYZED;
 super.patch();
 XSDAttributeGroupDefinition theResolvedAttributeGroupDefinition = getResolvedAttributeGroupDefinition();
 if (theResolvedAttributeGroupDefinition != this && 
    (forceResolve || theResolvedAttributeGroupDefinition.getContainer() == null))
 {
  XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition =
   resolveAttributeGroupDefinition
    (theResolvedAttributeGroupDefinition.getTargetNamespace(), theResolvedAttributeGroupDefinition.getName());
  if (forceResolve || newResolvedAttributeGroupDefinition.getContainer() != null)
  {
   handleNewResolvedAttributeGroupDefinition(newResolvedAttributeGroupDefinition);
  }
 }
}

代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd

@Override
protected void patch()
{
 analysisState = UNANALYZED;
 super.patch();
 XSDAttributeGroupDefinition theResolvedAttributeGroupDefinition = getResolvedAttributeGroupDefinition();
 if (theResolvedAttributeGroupDefinition != this && 
    (forceResolve || theResolvedAttributeGroupDefinition.getContainer() == null))
 {
  XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition =
   resolveAttributeGroupDefinition
    (theResolvedAttributeGroupDefinition.getTargetNamespace(), theResolvedAttributeGroupDefinition.getName());
  if (forceResolve || newResolvedAttributeGroupDefinition.getContainer() != null)
  {
   handleNewResolvedAttributeGroupDefinition(newResolvedAttributeGroupDefinition);
  }
 }
}

代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd

clonedAttributeGroupDefinition.setResolvedAttributeGroupDefinition
 (createUnresolvedAttributeGroupDefinition
  (theResolvedAttributeGroupDefinition.getTargetNamespace(), theResolvedAttributeGroupDefinition.getName()));

代码示例来源:origin: org.eclipse/org.eclipse.xsd

clonedAttributeGroupDefinition.setResolvedAttributeGroupDefinition
 (createUnresolvedAttributeGroupDefinition
  (theResolvedAttributeGroupDefinition.getTargetNamespace(), theResolvedAttributeGroupDefinition.getName()));

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com