org.milyn.edisax.model.internal
Class Component
java.lang.Object
org.milyn.edisax.model.internal.MappingNode
org.milyn.edisax.model.internal.ValueNode
org.milyn.edisax.model.internal.Component
- All Implemented Interfaces:
- ContainerNode
public class Component
- extends ValueNode
- implements ContainerNode
|
Constructor Summary |
Component()
|
Component(java.lang.String xmltag,
java.lang.Boolean required)
|
Component(java.lang.String xmltag,
java.lang.Boolean required,
java.lang.Boolean truncatable)
|
| Methods inherited from class org.milyn.edisax.model.internal.ValueNode |
getDataType, getDataTypeParametersString, getDecoder, getMaxLength, getMinLength, getTypeClass, getTypeParameters, isValidForType, setDataType, setDataTypeParameters, setMaxLength, setMinLength |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Component
public Component()
Component
public Component(java.lang.String xmltag,
java.lang.Boolean required)
Component
public Component(java.lang.String xmltag,
java.lang.Boolean required,
java.lang.Boolean truncatable)
getSubComponents
public java.util.List<SubComponent> getSubComponents()
addSubComponent
public Component addSubComponent(SubComponent subComponent)
isRequired
public boolean isRequired()
setRequired
public void setRequired(java.lang.Boolean value)
isTruncatable
public boolean isTruncatable()
- Description copied from interface:
ContainerNode
- Can this Container Node be truncated if the trailing contained node values are
empty.
- Specified by:
isTruncatable in interface ContainerNode
- Returns:
- True of the container is truncatable, otherwise false.
setTruncatable
public void setTruncatable(java.lang.Boolean value)
Copyright © 2011. All Rights Reserved.