- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.apache.neethi.builders.xml.XMLPrimitiveAssertionBuilder.isOptional()
方法的一些代码示例,展示了XMLPrimitiveAssertionBuilder.isOptional()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLPrimitiveAssertionBuilder.isOptional()
方法的具体详情如下:
包路径:org.apache.neethi.builders.xml.XMLPrimitiveAssertionBuilder
类名称:XMLPrimitiveAssertionBuilder
方法名:isOptional
暂无
代码示例来源:origin: org.apache.cxf/cxf-rt-ws-policy
public PrimitiveAssertion(Element element) {
super(new QName(element.getNamespaceURI(), element.getLocalName()),
XMLPrimitiveAssertionBuilder.isOptional(element),
XMLPrimitiveAssertionBuilder.isIgnorable(element));
}
代码示例来源:origin: apache/cxf
public PrimitiveAssertion(Element element) {
super(new QName(element.getNamespaceURI(), element.getLocalName()),
XMLPrimitiveAssertionBuilder.isOptional(element),
XMLPrimitiveAssertionBuilder.isIgnorable(element));
}
代码示例来源:origin: apache/cxf
/**
* @see org.apache.neethi.builders.AssertionBuilder#build(org.w3c.dom.Element,
* org.apache.neethi.AssertionBuilderFactory)
*/
public Assertion build(Element elem, AssertionBuilderFactory factory) throws IllegalArgumentException {
Assertion assertion = null;
if (RSP_NAMESPACE.equals(elem.getNamespaceURI()) && CONFORMANT_NAME.equals(elem.getLocalName())) {
boolean optional = XMLPrimitiveAssertionBuilder.isOptional(elem);
assertion = new PrimitiveAssertion(CONFORMANT_QNAME, optional);
}
return assertion;
}
}
代码示例来源:origin: org.apache.neethi/neethi
/**
* Constructs a XmlPrimitiveAssertion from an Element.
*
* @param element
* the Element from which the XmlAssertion is constructed
*/
public XmlPrimitiveAssertion(Element element) {
super(new QName(element.getNamespaceURI(), element.getLocalName()),
XMLPrimitiveAssertionBuilder.isOptional(element),
XMLPrimitiveAssertionBuilder.isIgnorable(element));
this.element = element;
}
代码示例来源:origin: apache/cxf
/**
* @see org.apache.neethi.builders.AssertionBuilder#build(org.w3c.dom.Element,
* org.apache.neethi.AssertionBuilderFactory)
*/
public Assertion build(Element elem, AssertionBuilderFactory factory) throws IllegalArgumentException {
Assertion assertion = null;
if (WSMC_NAMESPACE.equals(elem.getNamespaceURI()) && MCSUPPORTED_NAME.equals(elem.getLocalName())) {
boolean optional = XMLPrimitiveAssertionBuilder.isOptional(elem);
assertion = new PrimitiveAssertion(MCSUPPORTED_QNAME, optional);
}
return assertion;
}
}
代码示例来源:origin: apache/cxf
public Assertion build(Element element, AssertionBuilderFactory fact) {
if (XMLPrimitiveAssertionBuilder.isOptional(element)
|| XMLPrimitiveAssertionBuilder.isIgnorable(element)) {
return super.build(element, fact);
}
QName q = new QName(element.getNamespaceURI(), element.getLocalName());
return assertions.get(q);
}
});
代码示例来源:origin: apache/cxf
public Assertion build(Element element, AssertionBuilderFactory fact) {
if (XMLPrimitiveAssertionBuilder.isOptional(element)
|| XMLPrimitiveAssertionBuilder.isIgnorable(element)) {
return super.build(element, fact);
}
QName q = new QName(element.getNamespaceURI(), element.getLocalName());
return assertions.get(q);
}
});
代码示例来源:origin: org.apache.cxf/cxf-rt-ws-security
public Assertion build(Element element, AssertionBuilderFactory fact) {
if (XMLPrimitiveAssertionBuilder.isOptional(element)
|| XMLPrimitiveAssertionBuilder.isIgnorable(element)) {
return super.build(element, fact);
}
QName q = new QName(element.getNamespaceURI(), element.getLocalName());
return assertions.get(q);
}
});
代码示例来源:origin: org.apache.cxf/cxf-rt-ws-security
public Assertion build(Element element, AssertionBuilderFactory fact) {
if (XMLPrimitiveAssertionBuilder.isOptional(element)
|| XMLPrimitiveAssertionBuilder.isIgnorable(element)) {
return super.build(element, fact);
}
QName q = new QName(element.getNamespaceURI(), element.getLocalName());
return assertions.get(q);
}
});
代码示例来源:origin: org.apache.neethi/neethi
public Assertion newPrimitiveAssertion(Element element, Map<QName, String> atts) {
return new PrimitiveAssertion(getQName(element),
isOptional(element), isIgnorable(element),
atts,
element.getTextContent());
}
public Assertion newPolicyContainingAssertion(Element element, Map<QName, String> atts, Policy policy) {
代码示例来源:origin: apache/cxf
public Assertion build(Element element, AssertionBuilderFactory factory) {
QName name = new QName(element.getNamespaceURI(), element.getLocalName());
JaxbAssertion<T> assertion = buildAssertion();
assertion.setName(name);
assertion.setOptional(XMLPrimitiveAssertionBuilder.isOptional(element));
assertion.setIgnorable(XMLPrimitiveAssertionBuilder.isIgnorable(element));
assertion.setData(getData(element));
return assertion;
}
代码示例来源:origin: org.apache.neethi/neethi
public Assertion newPolicyContainingAssertion(Element element, Map<QName, String> atts, Policy policy) {
return new PolicyContainingPrimitiveAssertion(getQName(element),
isOptional(element), isIgnorable(element),
policy);
}
代码示例来源:origin: org.apache.cxf/cxf-rt-ws-policy
public Assertion build(Element element, AssertionBuilderFactory factory) {
QName name = new QName(element.getNamespaceURI(), element.getLocalName());
JaxbAssertion<T> assertion = buildAssertion();
assertion.setName(name);
assertion.setOptional(XMLPrimitiveAssertionBuilder.isOptional(element));
assertion.setIgnorable(XMLPrimitiveAssertionBuilder.isIgnorable(element));
assertion.setData(getData(element));
return assertion;
}
代码示例来源:origin: apache/cxf
public Assertion build(Element element, AssertionBuilderFactory fact) {
if (XMLPrimitiveAssertionBuilder.isOptional(element)
|| XMLPrimitiveAssertionBuilder.isIgnorable(element)) {
return super.build(element, fact);
}
QName q = new QName(element.getNamespaceURI(), element.getLocalName());
return assertions.get(q);
}
});
代码示例来源:origin: apache/cxf
public Assertion build(Element element, AssertionBuilderFactory fact) {
if (XMLPrimitiveAssertionBuilder.isOptional(element)
|| XMLPrimitiveAssertionBuilder.isIgnorable(element)) {
return super.build(element, fact);
}
QName q = new QName(element.getNamespaceURI(), element.getLocalName());
return assertions.get(q);
}
});
代码示例来源:origin: apache/cxf
Assertion assertion = null;
if (RM11Constants.WSRMP_NAMESPACE_URI.equals(elem.getNamespaceURI())) {
boolean optional = XMLPrimitiveAssertionBuilder.isOptional(elem);
String lname = elem.getLocalName();
if (RMConstants.RMASSERTION_NAME.equals(lname)) {
本文整理了Java中org.apache.neethi.builders.xml.XMLPrimitiveAssertionBuilder.()方法的一些代码示例,展示了XMLPrimitiveAss
本文整理了Java中org.apache.neethi.builders.xml.XMLPrimitiveAssertionBuilder.isIgnorable()方法的一些代码示例,展示了XMLP
本文整理了Java中org.apache.neethi.builders.xml.XMLPrimitiveAssertionBuilder.isOptional()方法的一些代码示例,展示了XMLPr
我是一名优秀的程序员,十分优秀!