public class IntentHelper extends BaseXJDFHelper
Modifier and Type | Field and Description |
---|---|
static boolean |
bSpanAsAttribute |
static String |
INTENT |
log, theElement
Constructor and Description |
---|
IntentHelper(KElement intent) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
generic cleanup routine
|
KElement |
getCreateResource() |
KElement |
getIntent() |
String |
getName() |
KElement |
getResource() |
String |
getSpan(String spanPath)
get the span attribute - initially try attribute, else Element/@Actual
|
static boolean |
isIntentResource(KElement toCheck) |
void |
setSpan(KElement resource,
String spanPath,
String val,
String dataType)
set the span in a subelement
|
void |
setSpan(String att,
String val) |
void |
setSpan(String att,
String val,
String dataType) |
String |
toString() |
appendElement, copyHelper, deleteNode, ensureID, equals, getAttribute, getCreateElement, getGeneralID, getID, getRoot, getXPathElement, getXPathValue, hashCode, isEqual, removeAttribute, reorder, setAttribute, setGeneralID, setID, setXPathValue
public static boolean bSpanAsAttribute
public static final String INTENT
public IntentHelper(KElement intent)
intent
- public static boolean isIntentResource(KElement toCheck)
toCheck
- public String toString()
toString
in class BaseXJDFHelper
Object.toString()
public KElement getIntent()
public KElement getResource()
public KElement getCreateResource()
public String getName()
public void setSpan(String att, String val, String dataType)
att
- val
- dataType
- - if null always set as simple attributepublic String getSpan(String spanPath)
spanPath
- public void setSpan(KElement resource, String spanPath, String val, String dataType)
resource
- spanPath
- val
- dataType
- public void cleanUp()
BaseXJDFHelper
cleanUp
in class BaseXJDFHelper
BaseXJDFHelper.cleanUp()
Copyright © 2018. All rights reserved.