|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.SDataExternalResponseHelper
public class SDataExternalResponseHelper
Helper class to create SDataExternalResponse object
Constructor Summary | |
---|---|
SDataExternalResponseHelper()
|
Method Summary | |
---|---|
java.util.List<SDataDiagnosis> |
getDiagnosisList(org.w3c.dom.Element element)
returns the SDataDiagnonsis from the entry |
java.lang.String |
getEntryId(org.w3c.dom.Element entry)
return the Entry id |
org.w3c.dom.Element |
getFeedEntry(int entryIndex,
org.w3c.dom.Element feed)
return the field content of the entryIndex'th entry of the feed |
java.lang.String |
getFeedId(org.w3c.dom.Element feed)
return the Feed id |
int |
getFeedItemCount(org.w3c.dom.Element top)
Gets the number of top level entries in the feed. |
SDataSchema |
getLinkedSchema(org.w3c.dom.Element element)
returns the schema element under the schema link of the feed or entry |
java.lang.String |
getLinkToFirst(org.w3c.dom.Element feed)
return the href of the "first" link |
java.lang.String |
getLinkToLast(org.w3c.dom.Element feed)
return the href of the "last" link |
java.lang.String |
getLinkToNext(org.w3c.dom.Element feed)
return the href of the "next" link |
java.lang.String |
getLinkToPrevious(org.w3c.dom.Element feed)
return the href of the "previous" link |
java.lang.String |
getLinkToSelf(org.w3c.dom.Element feed)
return the href of the "self" link |
java.lang.String |
getResourceSelector(org.w3c.dom.Element entry)
return the resource selector from the response |
SDataResourceElement |
getSDataResourceElement(org.w3c.dom.Element entry)
Process entry element to create SdataResourceElement |
boolean |
isEdit(org.w3c.dom.Element entry)
return true if entry contains edit link |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDataExternalResponseHelper()
Method Detail |
---|
public java.lang.String getLinkToSelf(org.w3c.dom.Element feed)
feed
-
public java.lang.String getLinkToFirst(org.w3c.dom.Element feed)
feed
-
public java.lang.String getLinkToPrevious(org.w3c.dom.Element feed)
feed
-
public java.lang.String getLinkToNext(org.w3c.dom.Element feed)
feed
-
public java.lang.String getLinkToLast(org.w3c.dom.Element feed)
feed
-
public SDataSchema getLinkedSchema(org.w3c.dom.Element element) throws javax.xml.parsers.ParserConfigurationException
element
- element
javax.xml.parsers.ParserConfigurationException
- exceptionpublic java.util.List<SDataDiagnosis> getDiagnosisList(org.w3c.dom.Element element)
element
- the non-null Element
that is the parent to the actual
diagnosis elements, either an sdata:diagnoses or an Entry or
Feed
public boolean isEdit(org.w3c.dom.Element entry)
entry
- entry
public java.lang.String getEntryId(org.w3c.dom.Element entry)
entry
-
public java.lang.String getFeedId(org.w3c.dom.Element feed)
feed
-
public org.w3c.dom.Element getFeedEntry(int entryIndex, org.w3c.dom.Element feed)
entryIndex
- the zero-based index of the entry to getfeed
- feed
public java.lang.String getResourceSelector(org.w3c.dom.Element entry)
entry
- entry
public int getFeedItemCount(org.w3c.dom.Element top)
top
- top
public SDataResourceElement getSDataResourceElement(org.w3c.dom.Element entry)
entry
- entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |