org.cip4.jdflib.extensions
Class BaseXJDFHelper

java.lang.Object
  extended by org.cip4.jdflib.extensions.BaseXJDFHelper
Direct Known Subclasses:
IntentHelper, PartitionHelper, ProductHelper, SetHelper, XJDFHelper

public abstract class BaseXJDFHelper
extends Object

Author:
rainerprosi

Field Summary
protected  org.apache.commons.logging.Log log
           
protected  KElement theElement
           
 
Constructor Summary
protected BaseXJDFHelper()
           
 
Method Summary
 String getID()
          get the ID from the generic Parameter or Resource element
 KElement getRoot()
           
 String getXPathValue(String xpath)
           
 void setXPathValue(String xpath, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log

theElement

protected KElement theElement
Constructor Detail

BaseXJDFHelper

protected BaseXJDFHelper()
Method Detail

getXPathValue

public String getXPathValue(String xpath)
Parameters:
xpath -
Returns:

setXPathValue

public void setXPathValue(String xpath,
                          String value)
Parameters:
xpath -
value -

getRoot

public KElement getRoot()
Returns:
the xjdf root element

getID

public String getID()
get the ID from the generic Parameter or Resource element

Returns:
the ID , may be null in case this is connected to a null element


Copyright © 2013. All Rights Reserved.