本文整理了Java中org.apache.xmlbeans.impl.values.XmlAnyTypeImpl
类的一些代码示例,展示了XmlAnyTypeImpl
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlAnyTypeImpl
类的具体详情如下:
包路径:org.apache.xmlbeans.impl.values.XmlAnyTypeImpl
类名称:XmlAnyTypeImpl
[英]This class implements the anyType for XML.
[中]此类实现了XML的anyType。
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
return new XmlAnyTypeImpl(BuiltinSchemaTypeSystem.ST_NO_TYPE);
case BTC_ANY_TYPE:
return new XmlAnyTypeImpl();
case BTC_ANY_SIMPLE:
return new XmlAnySimpleTypeImpl();
代码示例来源:origin: org.n52.epos/epos-transform-om
try {
String s = anyTypeDoc.getStringValue().trim();
int attributeLenght = anyTypeDoc.getDomNode().getAttributes().getLength();
localName = anyTypeDoc.getDomNode().getAttributes().item(i).getLocalName();
uom = anyTypeDoc.getDomNode().getAttributes().item(i).getNodeValue();
String textValue = anyTypeDoc.getStringValue().trim();
newEvent.put(MapEposEvent.VALUE_KEY, textValue);
newEvent.put(MapEposEvent.RESULT_KEY, textValue);
代码示例来源:origin: org.n52.sensorweb.sos/gda-coding
protected String parseStringValue(XmlObject xmlObject) {
if (xmlObject instanceof XmlString) {
return ((XmlString) xmlObject).getStringValue();
} else if (xmlObject instanceof XmlAnyURI) {
return ((XmlAnyURI)xmlObject).getStringValue();
} else {
return ((XmlAnyTypeImpl) xmlObject).getStringValue();
}
}
代码示例来源:origin: org.n52.epos/epos-transform-om
xobj = XMLBeansParser.parse(anyTypeDoc.toString(), false);
代码示例来源:origin: org.n52.svalbard/svalbard-xmlbeans
protected String parseStringValue(XmlObject xmlObject) {
if (xmlObject instanceof XmlString) {
return ((XmlString) xmlObject).getStringValue();
} else if (xmlObject instanceof XmlAnyURI) {
return ((XmlAnyURI) xmlObject).getStringValue();
} else {
return ((XmlAnyTypeImpl) xmlObject).getStringValue();
}
}
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
return new XmlAnyTypeImpl(BuiltinSchemaTypeSystem.ST_NO_TYPE);
case BTC_ANY_TYPE:
case BTC_ANY_SIMPLE:
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
return new XmlAnyTypeImpl(BuiltinSchemaTypeSystem.ST_NO_TYPE);
case BTC_ANY_TYPE:
return new XmlAnyTypeImpl();
case BTC_ANY_SIMPLE:
return new XmlAnySimpleTypeImpl();
代码示例来源:origin: com.github.pjfanning/xmlbeans
return new XmlAnyTypeImpl(BuiltinSchemaTypeSystem.ST_NO_TYPE);
case BTC_ANY_TYPE:
return new XmlAnyTypeImpl();
case BTC_ANY_SIMPLE:
return new XmlAnySimpleTypeImpl();
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
return new XmlAnyTypeImpl(BuiltinSchemaTypeSystem.ST_NO_TYPE);
case BTC_ANY_TYPE:
case BTC_ANY_SIMPLE:
代码示例来源:origin: com.github.pjfanning/xmlbeans
return new XmlAnyTypeImpl(BuiltinSchemaTypeSystem.ST_NO_TYPE);
case BTC_ANY_TYPE:
case BTC_ANY_SIMPLE:
内容来源于网络,如有侵权,请联系作者删除!