org.apache.xmlbeans.XmlQName类的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(9.4k)|赞(0)|评价(0)|浏览(110)

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

XmlQName介绍

[英]Corresponds to the XML Schema xs:QName type.

A QName is the logical combination of an XML namespace URI and a localName. Although in an XML instance document, a QName appears as "prefix:localName", the logical value of a QName does NOT contain any information about the prefix, only the namespace URI to which the prefix maps. For example, two QNames "a:hello" and "b:hello" are perfectly equivalent if "a:" in the first instance maps to the same URI as "b:" in the second instance.

Convertible to javax.xml.namespace.QName.
[中]对应于XML模式xs:QName类型。
QName是XML名称空间URI和localName的逻辑组合。虽然在XML实例文档中,QName显示为“prefix:localName”,但QName的逻辑值不包含有关前缀的任何信息,只包含前缀映射到的命名空间URI。例如,如果第一个实例中的“a:”映射到与第二个实例中的“b:”相同的URI,那么两个qname“a:hello”和“b:hello”是完全等价的。
可转换为javax。xml。名称空间。QName。

代码示例

代码示例来源:origin: org.n52.sensorweb/52n-xml-sos-v100

/**
 * Sets (as xml) ith "resultModel" element
 */
public void xsetResultModelArray(int i, org.apache.xmlbeans.XmlQName resultModel)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RESULTMODEL$12, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.set(resultModel);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-csw-v202

/**
 * Sets (as xml) ith "ElementName" element
 */
public void xsetElementNameArray(int i, org.apache.xmlbeans.XmlQName elementName)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(ELEMENTNAME$2, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.set(elementName);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-csw-v202

/**
 * Sets (as xml) ith "TypeName" element
 */
public void xsetTypeNameArray(int i, org.apache.xmlbeans.XmlQName typeName)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(TYPENAME$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.set(typeName);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-wfs-v110

/**
 * Sets (as xml) ith "TypeName" element
 */
public void xsetTypeNameArray(int i, org.apache.xmlbeans.XmlQName typeName)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(TYPENAME$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.set(typeName);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-wfs-v20

/**
 * Sets (as xml) ith "TypeName" element
 */
public void xsetTypeNameArray(int i, org.apache.xmlbeans.XmlQName typeName)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(TYPENAME$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.set(typeName);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-wfs-v20

/**
 * Sets (as xml) ith "ReturnFeatureType" element
 */
public void xsetReturnFeatureTypeArray(int i, org.apache.xmlbeans.XmlQName returnFeatureType)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RETURNFEATURETYPE$2, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.set(returnFeatureType);
  }
}

代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas

/**
 * Sets (as xml) the "service" element
 */
public void xsetService(org.apache.xmlbeans.XmlQName service)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(SERVICE$2, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(SERVICE$2);
    }
    target.set(service);
  }
}

代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas

/**
 * Sets (as xml) the "process-id" element
 */
public void xsetProcessId(org.apache.xmlbeans.XmlQName processId)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(PROCESSID$8, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(PROCESSID$8);
    }
    target.set(processId);
  }
}

代码示例来源:origin: net.open-esb.core/wsdl

/**
 * Sets (as xml) the "binding" attribute
 */
public void xsetBinding(org.apache.xmlbeans.XmlQName binding)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(BINDING$2);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(BINDING$2);
    }
    target.set(binding);
  }
}

代码示例来源:origin: net.open-esb.core/wsdl

/**
 * Sets (as xml) the "ref" attribute
 */
public void xsetRef(org.apache.xmlbeans.XmlQName ref)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(REF$0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(REF$0);
    }
    target.set(ref);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-wfs-v20

/**
 * Sets (as xml) the "Name" element
 */
public void xsetName(org.apache.xmlbeans.XmlQName name)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(NAME$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(NAME$0);
    }
    target.set(name);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-sweCommon-v101

/**
 * Sets (as xml) the "xmlElement" attribute
 */
public void xsetXmlElement(org.apache.xmlbeans.XmlQName xmlElement)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(XMLELEMENT$0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(XMLELEMENT$0);
    }
    target.set(xmlElement);
  }
}

代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas

/**
 * Sets (as xml) the "service" element
 */
public void xsetService(org.apache.xmlbeans.XmlQName service)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(SERVICE$4, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(SERVICE$4);
    }
    target.set(service);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-wfs-v110

/**
 * Sets (as xml) the "Name" element
 */
public void xsetName(org.apache.xmlbeans.XmlQName name)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(NAME$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(NAME$0);
    }
    target.set(name);
  }
}

代码示例来源:origin: net.open-esb.core/wsdl

/**
 * Sets (as xml) the "ref" attribute
 */
public void xsetRef(org.apache.xmlbeans.XmlQName ref)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(REF$0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(REF$0);
    }
    target.set(ref);
  }
}

代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas

/**
 * Sets (as xml) the "service" element
 */
public void xsetService(org.apache.xmlbeans.XmlQName service)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(SERVICE$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(SERVICE$0);
    }
    target.set(service);
  }
}

代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas

/**
 * Sets (as xml) the "correlationFilter" attribute
 */
public void xsetCorrelationFilter(org.apache.xmlbeans.XmlQName correlationFilter)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(CORRELATIONFILTER$6);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(CORRELATIONFILTER$6);
    }
    target.set(correlationFilter);
  }
}

代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas

/**
 * Sets (as xml) the "fault" element
 */
public void xsetFault(org.apache.xmlbeans.XmlQName fault)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(FAULT$50, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(FAULT$50);
    }
    target.set(fault);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-wfs-v110

/**
 * Sets (as xml) the "Name" element
 */
public void xsetName(org.apache.xmlbeans.XmlQName name)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(NAME$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(NAME$0);
    }
    target.set(name);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-wfs-v110

/**
 * Sets (as xml) the "typeName" attribute
 */
public void xsetTypeName(org.apache.xmlbeans.XmlQName typeName)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.XmlQName target = null;
    target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(TYPENAME$6);
    if (target == null)
    {
      target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(TYPENAME$6);
    }
    target.set(typeName);
  }
}

相关文章

XmlQName类方法