dk.brics.xact.analysis.xmlgraph
Class XMLSchemaDatatypes

java.lang.Object
  extended by dk.brics.xact.analysis.xmlgraph.XMLSchemaDatatypes

public class XMLSchemaDatatypes
extends Object


Field Summary
static String NAMESPACE
           
 
Constructor Summary
XMLSchemaDatatypes()
           
 
Method Summary
static dk.brics.automaton.Automaton getDatatype(SchemaType schema)
           
static dk.brics.automaton.Automaton getDatatype(String type, Origin origin)
           
static boolean isDatatype(SchemaType schema)
          Returns true if the specified type has the XMLSchema-datatypes namespace prefix.
static boolean isDatatype(String type)
          Returns true if the specified type has the XMLSchema-datatypes namespace prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final String NAMESPACE
See Also:
Constant Field Values
Constructor Detail

XMLSchemaDatatypes

public XMLSchemaDatatypes()
Method Detail

getDatatype

public static dk.brics.automaton.Automaton getDatatype(SchemaType schema)
                                                throws XMLException
Throws:
XMLException

getDatatype

public static dk.brics.automaton.Automaton getDatatype(String type,
                                                       Origin origin)

isDatatype

public static boolean isDatatype(SchemaType schema)
Returns true if the specified type has the XMLSchema-datatypes namespace prefix. This does not mean that it is actually a welldefined type.

Parameters:
schema - schema type
Returns:
boolean

isDatatype

public static boolean isDatatype(String type)
Returns true if the specified type has the XMLSchema-datatypes namespace prefix. This does not mean that it is actually a welldefined type.

Parameters:
type - expanded name
Returns:
boolean


Copyright © 2005-2011 Aarhus University.