Package org.pentaho.di.resource
Class ResourceReference
- java.lang.Object
-
- org.pentaho.di.resource.ResourceReference
-
public class ResourceReference extends Object
-
-
Constructor Summary
Constructors Constructor Description ResourceReference(ResourceHolderInterface resourceReferenceHolder)
ResourceReference(ResourceHolderInterface resourceReferenceHolder, List<ResourceEntry> entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addXmlCloseElement(StringBuilder buff, int indentLevel, String elementName)
void
addXmlElement(StringBuilder buff, int indentLevel, String elementName)
void
addXmlElement(StringBuilder buff, int indentLevel, String elementName, String elementValue)
void
addXmlElementWithAttribute(StringBuilder 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)
-
-
-
Constructor Detail
-
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)
-
-
Method Detail
-
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(StringBuilder buff, int indentLevel, String elementName, String attrName, String attrValue)
-
addXmlCloseElement
public void addXmlCloseElement(StringBuilder buff, int indentLevel, String elementName)
-
addXmlElement
public void addXmlElement(StringBuilder buff, int indentLevel, String elementName)
-
addXmlElement
public void addXmlElement(StringBuilder buff, int indentLevel, String elementName, String elementValue)
-
-