Class FromXMLList
- All Implemented Interfaces:
DefineAdder
Adds a list of Named-Items define in a XML file in the current directory.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds items todefine.getName()The name of the file in the current working directory WITHOUT THE .xml EXTENSIONbooleanisPrefix()If true, a prefix is prepended to the name of each added bean.voidThe name of the file in the current working directory WITHOUT THE .xml EXTENSIONvoidsetPrefix(boolean prefix) If true, a prefix is prepended to the name of each added bean.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FromXMLList
public FromXMLList()
-
-
Method Details
-
addTo
Description copied from interface:DefineAdderAdds items todefine.What items are added varies by implementation.
- Parameters:
define- where to add items to- Throws:
DefineAddException- if the items cannot be added successfully.
-
getName
The name of the file in the current working directory WITHOUT THE .xml EXTENSION -
setName
The name of the file in the current working directory WITHOUT THE .xml EXTENSION -
isPrefix
public boolean isPrefix()If true, a prefix is prepended to the name of each added bean. The prefix is: the name followed by a full-stop. -
setPrefix
public void setPrefix(boolean prefix) If true, a prefix is prepended to the name of each added bean. The prefix is: the name followed by a full-stop.
-