|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.data.DataRecordSource
com.partnersoft.v3x.io.formats.xml.XMLDataRecordSource
public class XMLDataRecordSource
A simple implementation of an XML reader that works on containers of homogenous entities.
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.v3x.data.DataRecordSource |
|---|
iteratorWrapper, mapWrapper, parameters, showProgress, verbose |
| Constructor Summary | |
|---|---|
XMLDataRecordSource()
|
|
XMLDataRecordSource(java.lang.String url)
|
|
| Method Summary | |
|---|---|
void |
close()
Do any cleanup needed. |
java.lang.String |
getDataRecordTag()
Gets the value of dataRecordTag |
java.lang.String |
getSendString()
Gets the value of sendString |
java.lang.String |
getUrl()
Gets the value of url |
protected void |
initialize(java.util.ArrayList fieldNames)
Populates the fieldNames list via the first line in the CSV file. |
boolean |
isUseAttributes()
Gets the value of useAttributes |
boolean |
isUseContents()
Gets the value of useContents |
protected boolean |
nextRecord(java.util.ArrayList fillThis)
Subclasses must implement this to set the current values in the given arraylist. |
void |
setDataRecordTag(java.lang.String argDataRecordTag)
Sets the value of dataRecordTag |
void |
setSendString(java.lang.String argSendString)
Sets the value of sendString |
void |
setUrl(java.lang.String argUrl)
Sets the value of url |
void |
setUseAttributes(boolean argUseAttributes)
Sets the value of useAttributes |
void |
setUseContents(boolean argUseContents)
Sets the value of useContents |
| Methods inherited from class com.partnersoft.v3x.data.DataRecordSource |
|---|
asIterator, asMap, clear, clone, containsKey, containsValue, copyStateFrom, entrySet, fieldNames, fieldValues, get, getAfterActions, getBeforeActions, getContentsMap, getParameters, getPosition, getShowProgress, getTransforms, getTransformScript, hasNext, initialize, isEmpty, isVerbose, keySet, next, put, putAll, remove, remove, reset, setAfterActions, setBeforeActions, setParameters, setShowProgress, setTransforms, setTransformScript, setVerbose, size, values |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLDataRecordSource()
public XMLDataRecordSource(java.lang.String url)
| Method Detail |
|---|
protected void initialize(java.util.ArrayList fieldNames)
initialize in class DataRecordSourceprotected boolean nextRecord(java.util.ArrayList fillThis)
DataRecordSource
nextRecord in class DataRecordSourcepublic void close()
DataRecordSource
close in class DataRecordSourcepublic java.lang.String getSendString()
public void setSendString(java.lang.String argSendString)
argSendString - Value to assign to this.sendStringpublic java.lang.String getUrl()
public void setUrl(java.lang.String argUrl)
argUrl - Value to assign to this.urlpublic java.lang.String getDataRecordTag()
public void setDataRecordTag(java.lang.String argDataRecordTag)
argDataRecordTag - Value to assign to this.dataRecordTagpublic boolean isUseAttributes()
public void setUseAttributes(boolean argUseAttributes)
argUseAttributes - Value to assign to this.useAttributespublic boolean isUseContents()
public void setUseContents(boolean argUseContents)
argUseContents - Value to assign to this.useContents
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||