Package jadex.xml.writer
Class WriteObjectInfo
- java.lang.Object
- 
- jadex.xml.writer.WriteObjectInfo
 
- 
 public class WriteObjectInfo extends java.lang.ObjectInfo for writing an object.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Map<java.lang.Object,java.lang.String>attributesThe attribute values.protected java.lang.StringcommentThe comment.protected java.lang.StringcontentThe content.protected TreesubobjectsThe subobjects tree.
 - 
Constructor SummaryConstructors Constructor Description WriteObjectInfo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(java.lang.Object name, java.lang.String value)Add an attribute.voidaddSubobject(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.StringgetComment()Get the comment.java.lang.StringgetContent()Get the content.protected TreeNodegetOrCreateChild(TreeNode node, QName tag, boolean flatten)Get or create a tree child.TreegetSubobjects()Get the subobjects.voidsetComment(java.lang.String comment)Set the comment.voidsetContent(java.lang.String content)Set the content.
 
- 
- 
- 
Field Detail- 
commentprotected java.lang.String comment The comment.
 - 
attributesprotected java.util.Map<java.lang.Object,java.lang.String> attributes The attribute values.
 - 
contentprotected java.lang.String content The content.
 - 
subobjectsprotected Tree subobjects The subobjects tree.
 
- 
 - 
Method Detail- 
getCommentpublic java.lang.String getComment() Get the comment.- Returns:
- The comment.
 
 - 
setCommentpublic void setComment(java.lang.String comment) Set the comment.- Parameters:
- comment- The comment to set.
 
 - 
getAttributespublic java.util.Map<java.lang.Object,java.lang.String> getAttributes() Get the attributes.- Returns:
- The attributes.
 
 - 
addAttributepublic void addAttribute(java.lang.Object name, java.lang.String value)Add an attribute.- Parameters:
- name- The name.
- value- The value.
 
 - 
getContentpublic java.lang.String getContent() Get the content.- Returns:
- The content.
 
 - 
setContentpublic void setContent(java.lang.String content) Set the content.- Parameters:
- content- The content to set.
 
 - 
getSubobjectspublic Tree getSubobjects() Get the subobjects.- Returns:
- The subobjects.
 
 - 
addSubobjectpublic void addSubobject(QName[] pathname, java.lang.Object subobject, boolean flatten) Add a subobject.
 
- 
 
-