|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectdk.brics.relaxng.converter.StandardDatatypes
public class StandardDatatypes
Converter for built-in RELAX NG datatypes and XML Schema datatypes. Constructed automata are cached.
| Constructor Summary | |
|---|---|
StandardDatatypes()
Constructs a new converter. |
|
| Method Summary | |
|---|---|
Automaton |
datatypeToAutomaton(String lib,
String type,
List<Param> params)
Converts a datatype. |
boolean |
isKnown(String lib,
String type)
Checks whether this library knows the given datatype. |
Automaton |
valueToAutomaton(String lib,
String type,
String ns,
String value)
Converts a value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardDatatypes()
| Method Detail |
|---|
public Automaton datatypeToAutomaton(String lib,
String type,
List<Param> params)
throws ConverterException
datatypeToAutomaton in interface DatatypeLibrarylib - datatype library URItype - datatypeparams - parameters
ConverterException - if unable to convert
public boolean isKnown(String lib,
String type)
DatatypeLibrary
isKnown in interface DatatypeLibrarylib - librarytype - datatype
public Automaton valueToAutomaton(String lib,
String type,
String ns,
String value)
throws ConverterException
valueToAutomaton in interface DatatypeLibrarylib - datatype library URItype - datatypens - namespacevalue - value
ConverterException - if unable to convert
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||