com.altova.xml.meta.ComplexType
该类使您能够访问有关从复杂类型生成的类的Schema信息。请注意,该类并不旨在提供有关XML文档中复杂类型的特定实例的动态信息。相反,它使您能够以编程方式获取有关XML Schema中定义的特定复杂类型的信息。
方法
Name | 描述 | |
---|---|---|
![]() | Attribute findAttribute(String localName, String namespaceURI) | 查找带有指定的本地名称和命名空间URI的特性。 |
![]() | Element findElement(String localName, String namespaceURI) | 查找带有指定的本地名称和命名空间URI的元素。 |
![]() | Attribute[] GetAttributes() | 返回所有特性的列表。 |
![]() | ComplexType getBaseType() | 返回此类型的基类型。 |
![]() | SimpleType getContentType() | 返回该内容的简单类型。 |
![]() | Element[] GetElements() | 返回所有元素的列表。 |
![]() | String getLocalName() | 返回类型的本地名称。 |
![]() | String getNamespaceURI() | 返回类型的命名空间URI。 |