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).


Field Summary
static DocumentFormat HTML
          Constant for a HTML document.
static DocumentFormat UNSPECIFIED
          Constant for an unspecified document type.
static DocumentFormat XML
          Constant for a XML document.
 
Fields inherited from class org.enhydra.xml.xmlc.metadata.EnumeratedType
fName
 
Method Summary
static DocumentFormat getType(String desiredType)
          Get the object for the specified type.
 
Methods inherited from class org.enhydra.xml.xmlc.metadata.EnumeratedType
getName, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.
Method Detail

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.