com.altova.xml.meta.ComplexType

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Code Generator > Reference to Generated Classes (Java) >

com.altova.xml.meta.ComplexType

This class enables you to access schema information about classes generated from complex types. Note that this class is not meant to provide dynamic information about particular instances of a complex type in an XML document. Instead, it enables you to obtain programmatically information about a particular complex type defined in the XML schema.

 

Methods


Name

Description

ic_java_public_member

Attribute findAttribute(String localName, String namespaceURI)

Finds the attribute with the specified local name and namespace URI.

ic_java_public_member

Element findElement(String localName, String namespaceURI)

Finds the element with the specified local name and namespace URI.

ic_java_public_member

Attribute[] GetAttributes()

Returns a list of all attributes.

ic_java_public_member

ComplexType getBaseType()

Returns the base type of this type.

ic_java_public_member

SimpleType getContentType()

Returns the simple type of the content.

ic_java_public_member

Element[] GetElements()

Returns a list of all elements.

ic_java_public_member

String getLocalName()

Returns the local name of the type.

ic_java_public_member

String getNamespaceURI()

Returns the namespace URI of the type.


© 2019 Altova GmbH