|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFDataObject
com.edustructures.sifworks.SIFDataObjectXML
public class SIFDataObjectXML
A SIFDataObject implementation that wraps raw XML messages.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIFDataObjectXML(ElementDef def,
java.lang.String xml)
Constructs a SIFDataObject with XML content |
|
SIFDataObjectXML(SIFVersion version,
ElementDef def,
java.lang.String xml)
Constructs a SIFDataObject with XML content |
|
| Method Summary | |
|---|---|
java.lang.String |
getRefId()
Gets this object's RefId. |
void |
setXML(java.lang.String xml)
Sets the raw XML message content |
java.lang.String |
toXML()
Gets the raw XML message content |
| Methods inherited from class com.edustructures.sifworks.SIFDataObject |
|---|
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getSIFExtendedElement, getSIFExtendedElements, getSIFExtendedElementsContainer, getSIFMetadata, getSIFVersion, setElementOrAttribute, setElementOrAttribute, setElementOrAttribute, setSIFExtendedElements, setSIFExtendedElementsContainer, setSIFMetadata, setSIFVersion |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getKey, getSIFValue, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setTextValue, setXmlId, tag |
| Methods inherited from class com.edustructures.sifworks.Element |
|---|
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SIFDataObjectXML(ElementDef def,
java.lang.String xml)
def - The ElementDef constant from the SIFDTD class identifying
the data object represented by the XMLxml - The XML content
public SIFDataObjectXML(SIFVersion version,
ElementDef def,
java.lang.String xml)
version - The version of SIF to associate with this objectdef - The ElementDef constant from the SIFDTD class identifying
the data object represented by the XMLxml - The XML content| Method Detail |
|---|
public java.lang.String getRefId()
SIFDataObjectMost SIF Data Object elements define a RefId value to uniquely identify the object. However, some objects such as SIF_ZoneStatus and StudentMeal do not have a RefId. For these, a blank string will be returned.
getRefId in class SIFDataObjectpublic java.lang.String toXML()
toXML in class SIFDataObjectpublic void setXML(java.lang.String xml)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||