com.altova.xml.meta.SimpleType

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

Home >  User Guide and Reference > Code Generator > Reference to Generated Classes (Java) >

com.altova.xml.meta.SimpleType

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

 

Methods


Name

Description

ic_java_public_member

SimpleType getBaseType()

Returns the base type of this type.

ic_java_public_member

String[] getEnumerations()

Returns an array of all enumeration facets.

ic_java_public_member

int getFractionDigits()

Returns the value of this facet.

ic_java_public_member

int getLength()

Returns the value of this facet.

ic_java_public_member

String getLocalName()

Returns the local name of the type.

ic_java_public_member

String getMaxExclusive()

Returns the value of this facet.

ic_java_public_member

String getMaxInclusive()

Returns the value of this facet.

ic_java_public_member

int getMaxLength()

Returns the value of this facet.

ic_java_public_member

String getMinExclusive()

Returns the value of this facet.

ic_java_public_member

String getMinInclusive()

Returns the value of this facet.

ic_java_public_member

int getMinLength()

Returns the value of this facet.

ic_java_public_member

String getNamespaceURI()

Returns the namespace URI of the type.

ic_java_public_member

String[] getPatterns()

Returns an array of all pattern facets.

ic_java_public_member

int getTotalDigits()

Returns the value of this facet.

ic_java_public_member

int getWhitespace()

Returns the value of the whitespace facet, which is one of:

com.altova.typeinfo.WhitespaceType.Whitespace_Unknown

com.altova.typeinfo.WhitespaceType.Whitespace_Preserve

com.altova.typeinfo.WhitespaceType.Whitespace_Replace

com.altova.typeinfo.WhitespaceType.Whitespace_Collapse


© 2019 Altova GmbH