org.whattf.datatype
Class Html5DatatypeLibrary
java.lang.Object
org.whattf.datatype.Html5DatatypeLibrary
- All Implemented Interfaces:
- DatatypeLibrary
public class Html5DatatypeLibrary
- extends Object
- implements DatatypeLibrary
Factory for HTML5 datatypes.
- Version:
- $Id: Html5DatatypeLibrary.java,v 1.6 2006/11/21 09:49:14 hsivonen Exp $
- Author:
- hsivonen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Html5DatatypeLibrary
public Html5DatatypeLibrary()
createDatatypeBuilder
public DatatypeBuilder createDatatypeBuilder(String baseTypeLocalName)
throws DatatypeException
- Returns a
DatatypeBuilder
for a named datatype. This method is
unnecessary for direct access. Just use createDatatype
.
- Specified by:
createDatatypeBuilder
in interface DatatypeLibrary
- Parameters:
baseTypeLocalName
- the local name
- Returns:
- a
ParameterlessDatatypeBuilder
for the local name
- Throws:
DatatypeException
- See Also:
DatatypeLibrary.createDatatypeBuilder(java.lang.String)
createDatatype
public Datatype createDatatype(String typeLocalName)
throws DatatypeException
- The factory method for the datatypes of this library.
- Specified by:
createDatatype
in interface DatatypeLibrary
- Parameters:
typeLocalName
- the local name
- Returns:
- a
Datatype
instance for the local name
- Throws:
DatatypeException
- See Also:
DatatypeLibrary.createDatatype(java.lang.String)