public abstract class ComponentConfig extends TreeNode<ComponentConfig>
The following attributes apply to XML formatted streams only:
The following attributes are set during compilation, and are meant for internal use only:
Modifier and Type | Field and Description |
---|---|
static char |
CONSTANT
Constant component type
|
static char |
FIELD
Field component type
|
static char |
GROUP
Group component type
|
static char |
RECORD
Record component type
|
static char |
SEGMENT
Segment component type
|
static char |
STREAM
Stream component type
|
static char |
WRAPPER
Wrapper component type
|
Constructor and Description |
---|
ComponentConfig()
Constucts a new ComponentConfig.
|
Modifier and Type | Method and Description |
---|---|
abstract char |
getComponentType()
Returns the component type.
|
Integer |
getOrdinal()
Returns the relative position of this component within its parent components.
|
String |
getXmlName()
Returns XML element or attribute name of this component.
|
String |
getXmlNamespace()
Returns the XML namespace of this component.
|
String |
getXmlPrefix()
Returns the XML prefix for the namespace assigned to this component.
|
boolean |
isXmlNamespaceAware()
Returns whetther this component is namespace aware.
|
void |
setOrdinal(Integer ordinal)
Sets the relative position of this component within its parent components.
|
void |
setXmlName(String xmlName)
Sets the XML element or attribute name of this component.
|
void |
setXmlNamespace(String xmlNamespace)
Sets the XML namespace of this component.
|
void |
setXmlNamespaceAware(boolean xmlNamespaceAware)
Sets whether this component is namespace aware.
|
void |
setXmlPrefix(String xmlPrefix)
Sets the XML prefix for the namespace assigned to this component.
|
add, clone, find, getChildren, getFirst, getName, isDescendant, isSupportedChild, iterator, print, print, setName, size, sort, toParamString, toString, updateReferences
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final char GROUP
public static final char RECORD
public static final char SEGMENT
public static final char FIELD
public static final char CONSTANT
public static final char WRAPPER
public static final char STREAM
public abstract char getComponentType()
public Integer getOrdinal()
public void setOrdinal(Integer ordinal)
ordinal
- the relative positionpublic String getXmlName()
public void setXmlName(String xmlName)
xmlName
- the XML element or attribute namepublic String getXmlNamespace()
public void setXmlNamespace(String xmlNamespace)
xmlNamespace
- the XML namespacepublic String getXmlPrefix()
public void setXmlPrefix(String xmlPrefix)
xmlPrefix
- the XML namespace prefixpublic boolean isXmlNamespaceAware()
public void setXmlNamespaceAware(boolean xmlNamespaceAware)
xmlNamespaceAware
- true if this component is namespace aware