|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.config.NodeConfig org.beanio.config.GroupConfig
public class GroupConfig
Stores configuration settings for a record group. Records and groups are used to define the layout of stream.
Field Summary |
---|
Fields inherited from class org.beanio.config.NodeConfig |
---|
GROUP, RECORD |
Constructor Summary | |
---|---|
GroupConfig()
|
Method Summary | |
---|---|
void |
addChild(NodeConfig child)
Adds a child record or subgroup to this group. |
List<NodeConfig> |
getChildren()
Returns the child nodes of this group. |
char |
getType()
Returns NodeConfig.GROUP . |
String |
getXmlName()
Returns XML element local name of this group. |
String |
getXmlNamespace()
Returns the XML namespace for this group element. |
String |
getXmlPrefix()
Returns the XML prefix for the namespace assigned to this group element. |
String |
getXmlType()
Returns the XML node type of this group. |
void |
setChildren(List<NodeConfig> children)
Sets the list of child nodes. |
void |
setXmlName(String xmlName)
Sets the XML element local name of this group. |
void |
setXmlNamespace(String xmlNamespace)
Sets the XML namespace for this group element. |
void |
setXmlPrefix(String xmlPrefix)
Sets the XML prefix for the namespace assigned to this group element. |
void |
setXmlType(String xmlType)
Sets the XML node type of this group. |
Methods inherited from class org.beanio.config.NodeConfig |
---|
getMaxOccurs, getMinOccurs, getName, getOrder, setMaxOccurs, setMinOccurs, setName, setOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupConfig()
Method Detail |
---|
public char getType()
NodeConfig.GROUP
.
getType
in class NodeConfig
NodeConfig.RECORD
or NodeConfig.GROUP
public void addChild(NodeConfig child)
child
- the child node to addpublic List<NodeConfig> getChildren()
public void setChildren(List<NodeConfig> children)
children
- the list of child nodespublic String getXmlType()
XmlTypeConstants
public void setXmlType(String xmlType)
xmlType
- the XML node typeXmlTypeConstants
public String getXmlName()
public void setXmlName(String xmlName)
xmlName
- the XML element local name of this grouppublic String getXmlNamespace()
public void setXmlNamespace(String xmlNamespace)
xmlNamespace
- the XML namespacepublic String getXmlPrefix()
public void setXmlPrefix(String xmlPrefix)
xmlPrefix
- the XML namespace prefix
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |