- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.eclipse.xsd.XSDAttributeGroupDefinition.getAttributeUses()
方法的一些代码示例,展示了XSDAttributeGroupDefinition.getAttributeUses()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSDAttributeGroupDefinition.getAttributeUses()
方法的具体详情如下:
包路径:org.eclipse.xsd.XSDAttributeGroupDefinition
类名称:XSDAttributeGroupDefinition
方法名:getAttributeUses
[英]Returns the value of the 'Attribute Uses' reference list. The list contents are of type org.eclipse.xsd.XSDAttributeUse.
This represents the attribute uses infoset property. It is computed from the #getContents() and should typically not be set directly.
[中]返回“属性使用”引用列表的值。列表内容的类型为org。日食xsd。XSDAT论坛。
这表示attribute usesinfoset属性。它是根据#getContents()计算的,通常不应直接设置。
代码示例来源:origin: geotools/geotools
List uses = attGrp.getAttributeUses();
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public void visitAttributeGroupDefinition(XSDAttributeGroupDefinition attributeGroup)
{
if (attributeGroup.getAttributeUses() != null)
{
for (Iterator iter = attributeGroup.getAttributeUses().iterator(); iter.hasNext(); )
{
XSDAttributeUse attrUse = (XSDAttributeUse)iter.next();
visitAttributeDeclaration(attrUse.getContent());
}
}
}
代码示例来源:origin: org.geotools/gt2-xml-core
public boolean visit(XSDTypeDefinition type) {
//simple types dont have attributes
if (type instanceof XSDSimpleTypeDefinition) {
return true;
}
XSDComplexTypeDefinition cType = (XSDComplexTypeDefinition) type;
//get all the attribute content (groups,or uses) and add to q
List attContent = cType.getAttributeContents();
for (Iterator itr = attContent.iterator(); itr.hasNext();) {
XSDAttributeGroupContent content = (XSDAttributeGroupContent) itr.next();
if (content instanceof XSDAttributeUse) {
//an attribute, add it to the list
XSDAttributeUse use = (XSDAttributeUse) content;
attributes.add(use.getAttributeDeclaration());
} else if (content instanceof XSDAttributeGroupDefinition) {
//attribute group, add all atts in group to list
XSDAttributeGroupDefinition attGrp = (XSDAttributeGroupDefinition) content;
if (attGrp.isAttributeGroupDefinitionReference()) {
attGrp = attGrp.getResolvedAttributeGroupDefinition();
}
List uses = attGrp.getAttributeUses();
for (Iterator aitr = uses.iterator(); aitr.hasNext();) {
XSDAttributeUse use = (XSDAttributeUse) aitr.next();
attributes.add(use.getAttributeDeclaration());
}
}
}
return true;
}
};
代码示例来源:origin: org.geotools.xsd/gt-core
public boolean visit(XSDTypeDefinition type) {
//simple types dont have attributes
if (type instanceof XSDSimpleTypeDefinition) {
return true;
}
XSDComplexTypeDefinition cType = (XSDComplexTypeDefinition) type;
//get all the attribute content (groups,or uses) and add to q
List attContent = cType.getAttributeContents();
for (Iterator itr = attContent.iterator(); itr.hasNext();) {
XSDAttributeGroupContent content = (XSDAttributeGroupContent) itr.next();
if (content instanceof XSDAttributeUse) {
//an attribute, add it to the list
XSDAttributeUse use = (XSDAttributeUse) content;
attributes.add(use.getAttributeDeclaration());
} else if (content instanceof XSDAttributeGroupDefinition) {
//attribute group, add all atts in group to list
XSDAttributeGroupDefinition attGrp = (XSDAttributeGroupDefinition) content;
if (attGrp.isAttributeGroupDefinitionReference()) {
attGrp = attGrp.getResolvedAttributeGroupDefinition();
}
List uses = attGrp.getAttributeUses();
for (Iterator aitr = uses.iterator(); aitr.hasNext();) {
XSDAttributeUse use = (XSDAttributeUse) aitr.next();
attributes.add(use.getAttributeDeclaration());
}
}
}
return true;
}
};
代码示例来源:origin: org.eclipse/org.eclipse.xsd
((XSDAttributeGroupDefinition)xsdAttributeGroupContent).getResolvedAttributeGroupDefinition();
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).analyze();
result.addAll(xsdAttributeGroupDefinition.getAttributeUses());
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
((XSDAttributeGroupDefinition)xsdAttributeGroupContent).getResolvedAttributeGroupDefinition();
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition).analyze();
result.addAll(xsdAttributeGroupDefinition.getAttributeUses());
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public void visitAttributeGroupDefinition(XSDAttributeGroupDefinition attributeGroup)
EList list = attributeGroup.getAttributeUses();
if (list != null)
代码示例来源:origin: org.eclipse.emf/org.eclipse.xsd.edit
siblings = group.getAttributeUses();
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition,
xsdAttributeGroupDefinition.getAttributeWildcardContent(),
otherXSDAttributeGroupDefinition.getAttributeUses(),
xsdAttributeGroupDefinition.getAttributeUses(),
otherXSDAttributeGroupDefinition.getAttributeWildcard(),
xsdAttributeGroupDefinition.getAttributeWildcard());
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
Iterator i = ((XSDAttributeGroupDefinition) parent).getResolvedAttributeGroupDefinition().getAttributeUses().iterator();
while (i.hasNext())
代码示例来源:origin: org.eclipse/org.eclipse.xsd
((XSDConcreteComponentImpl)xsdAttributeGroupDefinition,
xsdAttributeGroupDefinition.getAttributeWildcardContent(),
otherXSDAttributeGroupDefinition.getAttributeUses(),
xsdAttributeGroupDefinition.getAttributeUses(),
otherXSDAttributeGroupDefinition.getAttributeWildcard(),
xsdAttributeGroupDefinition.getAttributeWildcard());
本文整理了Java中org.eclipse.xsd.XSDAttributeGroupDefinition.getAttributeUses()方法的一些代码示例,展示了XSDAttributeGro
我是一名优秀的程序员,十分优秀!