Package org.pentaho.di.resource
Class ResourceReference
java.lang.Object
org.pentaho.di.resource.ResourceReference
-
Constructor Summary
ConstructorDescriptionResourceReference
(ResourceHolderInterface resourceReferenceHolder) ResourceReference
(ResourceHolderInterface resourceReferenceHolder, List<ResourceEntry> entries) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) void
setEntries
(List<ResourceEntry> entries) void
setReferenceHolder
(ResourceHolderInterface resourceReferenceHolder) toXml()
toXml
(int indentLevel) toXml
(ResourceXmlPropertyEmitterInterface injector) toXml
(ResourceXmlPropertyEmitterInterface injector, int indentLevel)
-
Constructor Details
-
ResourceReference
public ResourceReference(ResourceHolderInterface resourceReferenceHolder, List<ResourceEntry> entries) - Parameters:
resourceReferenceHolder
- Where to put the resource referencesentries
- the resource entries list
-
ResourceReference
-
-
Method Details
-
getReferenceHolder
- Returns:
- the resource reference holder
-
setReferenceHolder
- Parameters:
resourceReferenceHolder
- the resource reference holder to set
-
getEntries
- Returns:
- the entries
-
setEntries
- Parameters:
entries
- the entries to set
-
toXml
-
toXml
-
toXml
-
toXml
-
addXmlElementWithAttribute
public void addXmlElementWithAttribute(StringBuilder buff, int indentLevel, String elementName, String attrName, String attrValue) -
addXmlCloseElement
-
addXmlElement
-
addXmlElement
public void addXmlElement(StringBuilder buff, int indentLevel, String elementName, String elementValue)
-