本文整理了Java中org.apache.ws.commons.schema.XmlSchemaObjectTable.getNames()
方法的一些代码示例,展示了XmlSchemaObjectTable.getNames()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlSchemaObjectTable.getNames()
方法的具体详情如下:
包路径:org.apache.ws.commons.schema.XmlSchemaObjectTable
类名称:XmlSchemaObjectTable
方法名:getNames
暂无
代码示例来源:origin: stackoverflow.com
XmlSchemaObjectTable objTable = schema.getElements();
Iterator elementNames = objTable.getNames();
代码示例来源:origin: org.springframework.ws/org.springframework.xml
public QName[] getElementNames() {
List<QName> result = new ArrayList<QName>();
Iterator<?> iterator = schema.getElements().getNames();
while (iterator.hasNext()) {
QName name = (QName) iterator.next();
result.add(name);
}
return result.toArray(new QName[result.size()]);
}
代码示例来源:origin: com.legsem.legstar/legstar-xsd2cob
/**
* Get name for item from another schema.
*
* @param table the other schema table
* @param xsdObject the object for which we seek a name
* @return the name
*/
protected static QName getName(final XmlSchemaObjectTable table,
final XmlSchemaObject xsdObject) {
for (Iterator < ? > it = table.getNames(); it.hasNext();) {
QName name = (QName) it.next();
if (xsdObject == table.getItem(name)) {
return name;
}
}
return null;
}
代码示例来源:origin: org.apache.woden/woden-impl-commons
Iterator qnames = elementTable.getNames();
while (qnames.hasNext()) {
QName xseQN = (QName) qnames.next();
代码示例来源:origin: org.apache.woden/woden-impl-commons
Iterator qnames = typeTable.getNames();
while (qnames.hasNext()) {
QName xstQN = (QName) qnames.next();
代码示例来源:origin: org.apache.woden/woden-impl-commons
Iterator elementNames = elements.getNames();
while(elementNames.hasNext())
Iterator typeNames = types.getNames();
while(typeNames.hasNext())
内容来源于网络,如有侵权,请联系作者删除!