com.edustructures.sifworks.common
Class ContentType
java.lang.Object
com.edustructures.sifworks.SIFSimpleType<java.lang.String>
com.edustructures.sifworks.SIFString
com.edustructures.sifworks.SIFEnum
com.edustructures.sifworks.common.ContentType
- All Implemented Interfaces:
- java.io.Serializable
public class ContentType
- extends SIFEnum
Defines the set of values that can be specified whenever a ContentType
is used as a parameter to a method or constructor. Alternatively, the static
wrap method can be called to encapsulate any string value in
a ContentType object.
- Since:
- 2.0
- Version:
- 2.0
- See Also:
- Serialized Form
|
Method Summary |
static ContentType |
wrap(java.lang.String value)
Wrap an arbitrary string value in a ContentType object. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NAMEDXML
public static final ContentType NAMEDXML
- A specific type of XML, known to both parties ("NamedXML")
GENERICXML
public static final ContentType GENERICXML
- Any generic XML ("GenericXML")
wrap
public static ContentType wrap(java.lang.String value)
- Wrap an arbitrary string value in a ContentType object.
- Parameters:
value - The element/attribute value. This method does not verify
that the value is valid according to the SIF Specification.
Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.