Altova XMLSpy 2024 Enterprise Edition

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

 

Methods


Name

Description

ic_java_public_member

ComplexType getDataType()

Returns the type of the element. Note that this is always a complex type even if declared as simple in the original schema. Use getContentType() of the returned object to get the simple content type.

ic_java_public_member

String getLocalName()

Returns the local name of the element.

ic_java_public_member

int getMaxOccurs()

Returns the maxOccurs value defined in the schema.

ic_java_public_member

int getMinOccurs()

Returns the minOccurs value defined in the schema.

ic_java_public_member

String getNamespaceURI()

Returns the namespace URI of the element.

© 2017-2023 Altova GmbH