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

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

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

XmlQName.set介绍

[英]Sets this value as a QName
[中]将此值设置为QName

代码示例

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

  1. /**
  2. * Sets (as xml) ith "resultModel" element
  3. */
  4. public void xsetResultModelArray(int i, org.apache.xmlbeans.XmlQName resultModel)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RESULTMODEL$12, i);
  11. if (target == null)
  12. {
  13. throw new IndexOutOfBoundsException();
  14. }
  15. target.set(resultModel);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) ith "ElementName" element
  3. */
  4. public void xsetElementNameArray(int i, org.apache.xmlbeans.XmlQName elementName)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(ELEMENTNAME$2, i);
  11. if (target == null)
  12. {
  13. throw new IndexOutOfBoundsException();
  14. }
  15. target.set(elementName);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) ith "TypeName" element
  3. */
  4. public void xsetTypeNameArray(int i, org.apache.xmlbeans.XmlQName typeName)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(TYPENAME$0, i);
  11. if (target == null)
  12. {
  13. throw new IndexOutOfBoundsException();
  14. }
  15. target.set(typeName);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "service" element
  3. */
  4. public void xsetService(org.apache.xmlbeans.XmlQName service)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(SERVICE$2, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(SERVICE$2);
  14. }
  15. target.set(service);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "process-id" element
  3. */
  4. public void xsetProcessId(org.apache.xmlbeans.XmlQName processId)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(PROCESSID$8, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(PROCESSID$8);
  14. }
  15. target.set(processId);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "binding" attribute
  3. */
  4. public void xsetBinding(org.apache.xmlbeans.XmlQName binding)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(BINDING$2);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(BINDING$2);
  14. }
  15. target.set(binding);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "ref" attribute
  3. */
  4. public void xsetRef(org.apache.xmlbeans.XmlQName ref)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(REF$0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(REF$0);
  14. }
  15. target.set(ref);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "Name" element
  3. */
  4. public void xsetName(org.apache.xmlbeans.XmlQName name)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(NAME$0, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(NAME$0);
  14. }
  15. target.set(name);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "xmlElement" attribute
  3. */
  4. public void xsetXmlElement(org.apache.xmlbeans.XmlQName xmlElement)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(XMLELEMENT$0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(XMLELEMENT$0);
  14. }
  15. target.set(xmlElement);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "service" element
  3. */
  4. public void xsetService(org.apache.xmlbeans.XmlQName service)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(SERVICE$4, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(SERVICE$4);
  14. }
  15. target.set(service);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "Name" element
  3. */
  4. public void xsetName(org.apache.xmlbeans.XmlQName name)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(NAME$0, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(NAME$0);
  14. }
  15. target.set(name);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "ref" attribute
  3. */
  4. public void xsetRef(org.apache.xmlbeans.XmlQName ref)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(REF$0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(REF$0);
  14. }
  15. target.set(ref);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "service" element
  3. */
  4. public void xsetService(org.apache.xmlbeans.XmlQName service)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(SERVICE$0, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(SERVICE$0);
  14. }
  15. target.set(service);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "correlationFilter" attribute
  3. */
  4. public void xsetCorrelationFilter(org.apache.xmlbeans.XmlQName correlationFilter)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(CORRELATIONFILTER$6);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(CORRELATIONFILTER$6);
  14. }
  15. target.set(correlationFilter);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "fault" element
  3. */
  4. public void xsetFault(org.apache.xmlbeans.XmlQName fault)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(FAULT$50, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(FAULT$50);
  14. }
  15. target.set(fault);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "Name" element
  3. */
  4. public void xsetName(org.apache.xmlbeans.XmlQName name)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(NAME$0, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(NAME$0);
  14. }
  15. target.set(name);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "typeName" attribute
  3. */
  4. public void xsetTypeName(org.apache.xmlbeans.XmlQName typeName)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(TYPENAME$6);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(TYPENAME$6);
  14. }
  15. target.set(typeName);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "Name" element
  3. */
  4. public void xsetName(org.apache.xmlbeans.XmlQName name)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(NAME$0, 0);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(NAME$0);
  14. }
  15. target.set(name);
  16. }
  17. }

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

  1. /**
  2. * Sets (as xml) the "typeName" attribute
  3. */
  4. public void xsetTypeName(org.apache.xmlbeans.XmlQName typeName)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(TYPENAME$4);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(TYPENAME$4);
  14. }
  15. target.set(typeName);
  16. }
  17. }
  18. }

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

  1. /**
  2. * Sets (as xml) the "ref" attribute
  3. */
  4. public void xsetRef(org.apache.xmlbeans.XmlQName ref)
  5. {
  6. synchronized (monitor())
  7. {
  8. check_orphaned();
  9. org.apache.xmlbeans.XmlQName target = null;
  10. target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(REF$8);
  11. if (target == null)
  12. {
  13. target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(REF$8);
  14. }
  15. target.set(ref);
  16. }
  17. }
  18. }

相关文章

XmlQName类方法