org.enhydra.xml.xmlc.metadata
Class DocumentFormat
java.lang.Object
|
+--org.enhydra.xml.xmlc.metadata.EnumeratedType
|
+--org.enhydra.xml.xmlc.metadata.DocumentFormat
- public class DocumentFormat
- extends EnumeratedType
Enumerated type for the format of a document (HTML or XML).
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XML
public static final DocumentFormat XML
- Constant for a XML document.
HTML
public static final DocumentFormat HTML
- Constant for a HTML document.
UNSPECIFIED
public static final DocumentFormat UNSPECIFIED
- Constant for an unspecified document type.
getType
public static DocumentFormat getType(String desiredType)
- Get the object for the specified type. If desiredType is null,
return UNSPECIFIED.
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.