本文整理了Java中org.apache.xmlbeans.XmlNCName
类的一些代码示例,展示了XmlNCName
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlNCName
类的具体详情如下:
包路径:org.apache.xmlbeans.XmlNCName
类名称:XmlNCName
[英]Corresponds to the XML Schema xs:Name type. One of the derived types based on xs:string.
This kind of string is the same as the non-colonized strings that are used for XML localnames and prefixes, "my-href.2". It is just a physical string, however, and it should NOT be confused with XmlQName, which is a logical combination of localname and namespace URI.
Convertible to String.
[中]对应于XML模式xs:Name类型。基于xs:string的派生类型之一。
这种字符串与用于XML localname和前缀“my href.2”的非殖民化字符串相同。不过,它只是一个物理字符串,不应与XmlQName混淆,后者是localname和命名空间URI的逻辑组合。
可转换为字符串。
代码示例来源:origin: org.n52.security/52n-security-xml-saml2
/**
* Sets (as xml) ith "AssertionIDRef" element
*/
public void xsetAssertionIDRefArray(int i, org.apache.xmlbeans.XmlNCName assertionIDRef)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_element_user(ASSERTIONIDREF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(assertionIDRef);
}
}
代码示例来源:origin: net.sf.wsag4j/wsag4j-client
/**
* {@inheritDoc}
*/
public String getName() throws ResourceUnavailableException
{
try
{
Element body =
XmlUtils.createElement( WsagConstants.WSRF_GET_RESOURCE_PROPERTY_QNAME, "wsag:Name" );
body.setAttribute( WsagConstants.WSAG_PREFIX_DECLARATION, WsagConstants.NAMESPACE_URI );
Element response = client.invoke( WsagConstants.WSRF_GET_RESOURCE_PROPERTY_ACTION, body );
XmlNCName respDoc =
XmlNCName.Factory.parse( response, new XmlOptions().setLoadReplaceDocumentElement( null ) );
return respDoc.getStringValue();
}
catch ( SoapFault e )
{
throw new ResourceUnavailableException( e );
}
catch ( XmlException e )
{
throw new ResourceUnavailableException( e );
}
}
代码示例来源:origin: org.n52.security/52n-security-xml-saml2
/**
* Sets (as xml) ith "AssertionIDRef" element
*/
public void xsetAssertionIDRefArray(int i, org.apache.xmlbeans.XmlNCName assertionIDRef)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_element_user(ASSERTIONIDREF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(assertionIDRef);
}
}
代码示例来源:origin: org.n52.security/52n-security-xb
/**
* Sets (as xml) ith "AssertionIDRef" element
*/
public void xsetAssertionIDRefArray(int i, org.apache.xmlbeans.XmlNCName assertionIDRef)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_element_user(ASSERTIONIDREF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(assertionIDRef);
}
}
代码示例来源:origin: org.n52.security/52n-security-xb
/**
* Sets (as xml) ith "AssertionIDRef" element
*/
public void xsetAssertionIDRefArray(int i, org.apache.xmlbeans.XmlNCName assertionIDRef)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_element_user(ASSERTIONIDREF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(assertionIDRef);
}
}
代码示例来源:origin: org.n52.security/52n-security-xb
/**
* Sets (as xml) ith "AssertionIDRef" element
*/
public void xsetAssertionIDRefArray(int i, org.apache.xmlbeans.XmlNCName assertionIDRef)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_element_user(ASSERTIONIDREF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(assertionIDRef);
}
}
代码示例来源:origin: org.n52.security/52n-security-xml-saml2
/**
* Sets (as xml) ith "AssertionIDRef" element
*/
public void xsetAssertionIDRefArray(int i, org.apache.xmlbeans.XmlNCName assertionIDRef)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_element_user(ASSERTIONIDREF$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(assertionIDRef);
}
}
代码示例来源:origin: net.open-esb.core/wsdl
/**
* Sets (as xml) the "messageLabel" attribute
*/
public void xsetMessageLabel(org.apache.xmlbeans.XmlNCName messageLabel)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(MESSAGELABEL$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(MESSAGELABEL$2);
}
target.set(messageLabel);
}
}
代码示例来源:origin: org.n52.security/52n-security-xml-saml2
/**
* Sets (as xml) the "InResponseTo" attribute
*/
public void xsetInResponseTo(org.apache.xmlbeans.XmlNCName inResponseTo)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(INRESPONSETO$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(INRESPONSETO$6);
}
target.set(inResponseTo);
}
}
代码示例来源:origin: net.open-esb.core/wsdl
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$4);
}
target.set(name);
}
}
代码示例来源:origin: net.open-esb.core/wsdl
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
代码示例来源:origin: org.n52.security/52n-security-xml-saml2
/**
* Sets (as xml) the "InResponseTo" attribute
*/
public void xsetInResponseTo(org.apache.xmlbeans.XmlNCName inResponseTo)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(INRESPONSETO$10);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(INRESPONSETO$10);
}
target.set(inResponseTo);
}
}
代码示例来源:origin: org.n52.security/52n-security-xml-secconfig
/**
* Sets (as xml) the "initMethod" attribute
*/
public void xsetInitMethod(org.apache.xmlbeans.XmlNCName initMethod)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(INITMETHOD$12);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(INITMETHOD$12);
}
target.set(initMethod);
}
}
代码示例来源:origin: org.n52.security/52n-security-xb
/**
* Sets (as xml) the "class" attribute
*/
public void xsetClass1(org.apache.xmlbeans.XmlNCName class1)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(CLASS1$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(CLASS1$2);
}
target.set(class1);
}
}
代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas
/**
* Sets (as xml) the "port" attribute
*/
public void xsetPort(org.apache.xmlbeans.XmlNCName port)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(PORT$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(PORT$2);
}
target.set(port);
}
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-sensorML-v20
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-sensorML-v20
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-sensorML-v20
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-sweCommon-v20
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-sensorML-v20
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!