dk.brics.xact.analysis.xmlgraph
Class XMLSchemaDatatypes
java.lang.Object
dk.brics.xact.analysis.xmlgraph.XMLSchemaDatatypes
public class XMLSchemaDatatypes
- extends Object
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 |
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
XMLSchemaDatatypes
public XMLSchemaDatatypes()
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.