public class WriteObjectInfo
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.Map<java.lang.Object,java.lang.String> | attributesThe attribute values. | 
| protected java.lang.String | commentThe comment. | 
| protected java.lang.String | contentThe content. | 
| protected Tree | subobjectsThe subobjects tree. | 
| Constructor and Description | 
|---|
| WriteObjectInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAttribute(java.lang.Object name,
            java.lang.String value)Add an attribute. | 
| void | addSubobject(QName[] pathname,
            java.lang.Object subobject,
            boolean flatten)Add a subobject. | 
| java.util.Map<java.lang.Object,java.lang.String> | getAttributes()Get the attributes. | 
| java.lang.String | getComment()Get the comment. | 
| java.lang.String | getContent()Get the content. | 
| protected TreeNode | getOrCreateChild(TreeNode node,
                QName tag,
                boolean flatten)Get or create a tree child. | 
| Tree | getSubobjects()Get the subobjects. | 
| void | setComment(java.lang.String comment)Set the comment. | 
| void | setContent(java.lang.String content)Set the content. | 
protected java.lang.String comment
protected java.util.Map<java.lang.Object,java.lang.String> attributes
protected java.lang.String content
protected Tree subobjects
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - The comment to set.public java.util.Map<java.lang.Object,java.lang.String> getAttributes()
public void addAttribute(java.lang.Object name,
                         java.lang.String value)
name - The name.value - The value.public java.lang.String getContent()
public void setContent(java.lang.String content)
content - The content to set.public Tree getSubobjects()
public void addSubobject(QName[] pathname, java.lang.Object subobject, boolean flatten)