| java.lang.Object org.cougaar.lib.vishnu.client.BaseXMLize org.cougaar.lib.vishnu.client.ALPXMLize
ALPXMLize | public class ALPXMLize extends BaseXMLize (Code) | | Create and return xml for first class log plan objects.
Element name is extracted from object class, by taking the
last field of the object class, and dropping a trailing "Impl",
if it exists.
|
Method Summary | |
protected Element | createRootNode(Document doc, String tag, boolean isTask, boolean isResource, Object obj, String resourceClass) | protected void | generateElementReachedMaxDepth(Document doc, Element parentElement, Object obj) Already seen this object or reached maximum depth. | protected void | generateLeaf(Document doc, Element parentElement, String propertyName, Object propertyValue) | protected void | generateNonLeaf(Document doc, Element parentElement, String propertyName, Object propertyValue, int searchDepth, boolean isList, boolean isFirst, Collection createdNodes) | public static ALPXMLize | getInstance(Logger logger) |
generateElementReachedMaxDepth | protected void generateElementReachedMaxDepth(Document doc, Element parentElement, Object obj)(Code) | | Already seen this object or reached maximum depth.
Write the UID if possible, otherwise write the "toString".
|
Methods inherited from org.cougaar.lib.vishnu.client.BaseXMLize | protected void addNodes(Document doc, Object obj, Element parentElement, int searchDepth, Collection createdNodes)(Code)(Java Doc) abstract protected Element createRootNode(Document doc, String tag, boolean isTask, boolean isResource, Object obj, String resourceClassName)(Code)(Java Doc) protected void generateElem(Document doc, Element parentElement, String propertyName, Object propertyValue, int searchDepth, boolean isList, boolean isFirst, Collection createdNodes)(Code)(Java Doc) abstract protected void generateElementReachedMaxDepth(Document doc, Element parentElement, Object obj)(Code)(Java Doc) abstract protected void generateLeaf(Document doc, Element parentElement, String propertyName, Object propertyValue)(Code)(Java Doc) abstract protected void generateNonLeaf(Document doc, Element parentElement, String propertyName, Object propertyValue, int searchDepth, boolean isList, boolean isFirst, Collection createdNodes)(Code)(Java Doc) public List getDynamicAssetProperties(Asset asset)(Code)(Java Doc) public Element getPlanObjectXML(Object obj, Document doc, String resourceClassName)(Code)(Java Doc) public Element getPlanObjectXML(Object obj, Document doc, int searchDepth, String resourceClassName)(Code)(Java Doc) public Collection getPlanObjectXMLNodes(Object obj, Document doc, String resourceClassName)(Code)(Java Doc) public Collection getPlanObjectXMLNodes(Object obj, Document doc, int searchDepth, String resourceClassName)(Code)(Java Doc) protected List getProperties(Object obj, Map listProps)(Code)(Java Doc) protected Object getReadResult(Object obj, Method rm)(Code)(Java Doc) protected String getValueOfPrimitiveFloat(Object value)(Code)(Java Doc) protected boolean ignoreClass(Class aClass)(Code)(Java Doc) protected boolean isPrimitive(Class propertyClass)(Code)(Java Doc) protected boolean isPrimitiveFloat(Class theClass)(Code)(Java Doc) protected boolean isUniqueObject(Object obj)(Code)(Java Doc) protected PropertyDescriptor[] prunePropertiesFromMeasure(AbstractMeasure measure, PropertyDescriptor[] properties)(Code)(Java Doc) protected void reportTime(String prefix, Date start)(Code)(Java Doc)
|
|
|