Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xsd.reader.internal
Class XmlTypeUtil

java.lang.Object
  extended by eu.esdihumboldt.hale.io.xsd.reader.internal.XmlTypeUtil

public abstract class XmlTypeUtil
extends Object

Utility methods regarding type resolving

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Field Summary
static QName NAME_ANY_TYPE
          Qualified name of the anyType schema type
protected static org.geotools.xs.XSSchema xsSchema
          The XML simple types schema
 
Constructor Summary
XmlTypeUtil()
           
 
Method Summary
static void configureSimpleType(XmlTypeDefinition type, org.apache.ws.commons.schema.XmlSchemaSimpleType simpleType, XmlIndex index, IOReporter reporter)
          Configure a type definition for a simple type based on the XmlSchemaSimpleType.
static void configureType(XmlTypeDefinition type)
          Configure a type with defaults if possible, e.g.
static boolean setSpecialBinding(XmlTypeDefinition type)
          Determine if there is a special binding available for a type (apart from explicit definition in the schema)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xsSchema

protected static final org.geotools.xs.XSSchema xsSchema
The XML simple types schema


NAME_ANY_TYPE

public static final QName NAME_ANY_TYPE
Qualified name of the anyType schema type

Constructor Detail

XmlTypeUtil

public XmlTypeUtil()
Method Detail

configureType

public static void configureType(XmlTypeDefinition type)
Configure a type with defaults if possible, e.g. for simple types

Parameters:
type - the type to configure

configureSimpleType

public static void configureSimpleType(XmlTypeDefinition type,
                                       org.apache.ws.commons.schema.XmlSchemaSimpleType simpleType,
                                       XmlIndex index,
                                       IOReporter reporter)
Configure a type definition for a simple type based on the XmlSchemaSimpleType.

Parameters:
type - the type definition
simpleType - the schema simple type
index - the XML index for resolving type definitions
reporter - the report

setSpecialBinding

public static boolean setSpecialBinding(XmlTypeDefinition type)
Determine if there is a special binding available for a type (apart from explicit definition in the schema)

Parameters:
type - the type definition
Returns:
the special binding or null

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d