com.edustructures.sifworks
Class SIFString

java.lang.Object
  extended by com.edustructures.sifworks.SIFSimpleType<java.lang.String>
      extended by com.edustructures.sifworks.SIFString
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SIFEnum

public class SIFString
extends SIFSimpleType<java.lang.String>

Wraps a Java String in an immutable instance that can be used to construct a SIFSimpleType to represent properties in SIF data objects

Version:
2.0
See Also:
Serialized Form

Constructor Summary
SIFString(java.lang.String value)
          Constructs a SIFToken with a String value
 
Method Summary
 SIFTypeConverter<java.lang.String> getTypeConverter()
          Returns a type converter that can be used to create an instance of the datatype from a string
 boolean isDoNotEncode()
          This type does require encoding and returns false
 
Methods inherited from class com.edustructures.sifworks.SIFSimpleType
createField, equals, getDataType, getSQLType, getValue, hashCode, toString, toString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SIFString

public SIFString(java.lang.String value)
Constructs a SIFToken with a String value

Parameters:
value -
Method Detail

getTypeConverter

public SIFTypeConverter<java.lang.String> getTypeConverter()
Description copied from class: SIFSimpleType
Returns a type converter that can be used to create an instance of the datatype from a string

Specified by:
getTypeConverter in class SIFSimpleType<java.lang.String>
Returns:
The TypeConverter that is used for this element

isDoNotEncode

public boolean isDoNotEncode()
This type does require encoding and returns false

Overrides:
isDoNotEncode in class SIFSimpleType<java.lang.String>
Returns:
True if this datatype should not be encoded when writing to XML
See Also:
SIFSimpleType#shouldEncode()


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.