org.pentaho.di.resource
Class ResourceReference
java.lang.Object
org.pentaho.di.resource.ResourceReference
public class ResourceReference
- extends Object
Method Summary |
void |
addXmlCloseElement(StringBuffer buff,
int indentLevel,
String elementName)
|
void |
addXmlElement(StringBuffer buff,
int indentLevel,
String elementName)
|
void |
addXmlElement(StringBuffer buff,
int indentLevel,
String elementName,
String elementValue)
|
void |
addXmlElementWithAttribute(StringBuffer buff,
int indentLevel,
String elementName,
String attrName,
String attrValue)
|
List<ResourceEntry> |
getEntries()
|
ResourceHolderInterface |
getReferenceHolder()
|
void |
setEntries(List<ResourceEntry> entries)
|
void |
setReferenceHolder(ResourceHolderInterface resourceReferenceHolder)
|
String |
toXml()
|
String |
toXml(int indentLevel)
|
String |
toXml(ResourceXmlPropertyEmitterInterface injector)
|
String |
toXml(ResourceXmlPropertyEmitterInterface injector,
int indentLevel)
|
ResourceReference
public ResourceReference(ResourceHolderInterface resourceReferenceHolder,
List<ResourceEntry> entries)
- Parameters:
resourceReferenceHolder
- Where to put the resource referencesentries
- the resource entries list
ResourceReference
public ResourceReference(ResourceHolderInterface resourceReferenceHolder)
getReferenceHolder
public ResourceHolderInterface getReferenceHolder()
- Returns:
- the resource reference holder
setReferenceHolder
public void setReferenceHolder(ResourceHolderInterface resourceReferenceHolder)
- Parameters:
resourceReferenceHolder
- the resource reference holder to set
getEntries
public List<ResourceEntry> getEntries()
- Returns:
- the entries
setEntries
public void setEntries(List<ResourceEntry> entries)
- Parameters:
entries
- the entries to set
toXml
public String toXml()
toXml
public String toXml(ResourceXmlPropertyEmitterInterface injector)
toXml
public String toXml(int indentLevel)
toXml
public String toXml(ResourceXmlPropertyEmitterInterface injector,
int indentLevel)
addXmlElementWithAttribute
public void addXmlElementWithAttribute(StringBuffer buff,
int indentLevel,
String elementName,
String attrName,
String attrValue)
addXmlCloseElement
public void addXmlCloseElement(StringBuffer buff,
int indentLevel,
String elementName)
addXmlElement
public void addXmlElement(StringBuffer buff,
int indentLevel,
String elementName)
addXmlElement
public void addXmlElement(StringBuffer buff,
int indentLevel,
String elementName,
String elementValue)