public abstract class AbstractPrintTalk extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_JOBIDREF |
protected org.apache.commons.logging.Log |
log |
protected org.cip4.jdflib.core.KElement |
theElement |
| Constructor and Description |
|---|
AbstractPrintTalk() |
AbstractPrintTalk(org.cip4.jdflib.core.KElement theElement) |
| Modifier and Type | Method and Description |
|---|---|
org.cip4.jdflib.core.KElement |
appendElement(String elementName)
append an element
|
boolean |
equals(Object arg0)
we are equal if the underlying element is equal
|
String |
getAttribute(String strLocalName)
get an attribute from this, null if not there
|
String |
getAttribute(String strLocalName,
String def)
get an attribute from this, def if not there
|
org.cip4.jdflib.core.KElement |
getCreateElement(String nodeName)
get an element, create it if it does not yet exist
|
org.cip4.jdflib.core.KElement |
getCreateXPathElement(String path) |
String |
getDescriptiveName() |
org.cip4.jdflib.core.KElement |
getElement(String nodeName)
get an element, create it if it does not yet exist
|
org.cip4.jdflib.core.KElement |
getElement(String nodeName,
int nSkip)
get an element, create it if it does not yet exist
|
org.cip4.jdflib.core.VElement |
getElements(String nodeName)
get all elements,
|
PrintTalk |
getPrintTalk()
get the root element
|
org.cip4.jdflib.core.KElement |
getRoot()
get the root element that represints myself
|
String |
getTElem(String elemName)
get the contents of a text element
|
String |
getXPathAttribute(String path,
String def) |
org.cip4.jdflib.core.KElement |
getXPathElement(String path) |
int |
hashCode()
we are equal if the underlying element is equal
|
void |
init()
initialize
|
void |
setAttribute(String key,
String value)
set an attribute in this
|
void |
setDescriptiveName(String description) |
protected void |
setRoot(org.cip4.jdflib.core.KElement root) |
void |
setTElem(String elemName,
String s)
Create text element and set its value
|
void |
setXPathAttribute(String path,
String value) |
void |
setXPathValue(String path,
String value) |
String |
toString() |
protected org.cip4.jdflib.core.KElement theElement
protected final org.apache.commons.logging.Log log
public static String ATTR_JOBIDREF
public AbstractPrintTalk(org.cip4.jdflib.core.KElement theElement)
theElement - public AbstractPrintTalk()
protected void setRoot(org.cip4.jdflib.core.KElement root)
root - public org.cip4.jdflib.core.KElement getRoot()
public PrintTalk getPrintTalk()
public void init()
public String toString()
toString in class ObjectObject.toString()public void setDescriptiveName(String description)
description - public String getDescriptiveName()
public String getAttribute(String strLocalName)
strLocalName - public String getAttribute(String strLocalName, String def)
strLocalName - def - public void setAttribute(String key, String value)
key - value - public org.cip4.jdflib.core.KElement appendElement(String elementName)
elementName - public org.cip4.jdflib.core.KElement getCreateElement(String nodeName)
nodeName - public org.cip4.jdflib.core.KElement getElement(String nodeName)
nodeName - public org.cip4.jdflib.core.KElement getElement(String nodeName, int nSkip)
nodeName - nSkip - public org.cip4.jdflib.core.VElement getElements(String nodeName)
nodeName - public void setXPathAttribute(String path, String value)
path - value - public String getXPathAttribute(String path, String def)
path - def - public org.cip4.jdflib.core.KElement getXPathElement(String path)
path - public org.cip4.jdflib.core.KElement getCreateXPathElement(String path)
path - public String getTElem(String elemName)
elemName - public void setTElem(String elemName, String s)
elemName - s - public boolean equals(Object arg0)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2013. All Rights Reserved.