|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.tools.mapping.Rule
com.edustructures.sifworks.tools.mapping.OtherIdRule
public class OtherIdRule
A Rule class to evaluate <OtherId> queries as defined by the OtherIdMapping class.
| Constructor Summary | |
|---|---|
OtherIdRule(OtherIdMapping mapping)
|
|
OtherIdRule(OtherIdMapping mapping,
org.w3c.dom.Node node)
|
|
| Method Summary | |
|---|---|
Rule |
copy(FieldMapping newParent)
Produces a duplicate of this Rule object |
SIFSimpleType |
evaluate(SIFXPathContext xpathContext,
SIFVersion version)
Evaluates this rule against a SIFDataObject and returns the text value of the element or attribute that satisfied the query. |
java.lang.String |
toString()
Return the string representation of this OtherIdRule as XML text |
void |
toXML(org.w3c.dom.Node parent)
Render this OtherIdRule as an XML DOM Node |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OtherIdRule(OtherIdMapping mapping)
public OtherIdRule(OtherIdMapping mapping,
org.w3c.dom.Node node)
| Method Detail |
|---|
public Rule copy(FieldMapping newParent)
throws ADKMappingException
copy in class RulenewParent - The parent to copy this rule to
ADKMappingException - If the rule cannot be copiedpublic void toXML(org.w3c.dom.Node parent)
toXML in class Ruleparent - The parent Nodepublic java.lang.String toString()
toString in class java.lang.Object
public SIFSimpleType evaluate(SIFXPathContext xpathContext,
SIFVersion version)
throws ADKSchemaException
Rule
evaluate in class RulexpathContext - The SIFXPathContext instance to use for object traversalversion - The SIF Version that is in effect
ADKSchemaException - If the xpath expression cannot be resolved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||