com.ebm_ws.infra.xmlmapping
Class ObjInfoHolder

java.lang.Object
  extended by com.ebm_ws.infra.xmlmapping.ObjInfoHolder
Direct Known Subclasses:
XmlEditor, XmlInstantiator, XmlInstantiator2, XmlSerializer

public class ObjInfoHolder
extends java.lang.Object

The base class for instantiating an object model that conform to XML mapping rules.


Constructor Summary
ObjInfoHolder()
           
 
Method Summary
protected  void addInfo(ObjInfo info)
           
protected  void checkAllNodes(java.lang.Object iValidSupport)
           
 void dumpMessages(int treshold, java.io.PrintWriter iPrinter)
          Dumps errors, warnings and informations in the given printer.
 IXmlModelMessage[] getAllElementMessages(IXmlObject iXmlElement)
           
 IXmlModelMessage[] getAllMessages()
           
 IXmlModelMessage[] getGlobalElementMessages(IXmlObject iXmlElement)
           
 ObjInfo getInfoFromId(java.lang.String iPathId)
           
 ObjInfo getInfoFromObj(IXmlObject iObj)
           
 IXmlModelMessage[] getMappingElementMessages(IXmlObject iXmlElement, java.lang.String iMappingName)
           
 boolean hasMessages(int treshold)
          Determines whether this portal has errors (instanciation/validation) or not.
protected  void removeAllInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjInfoHolder

public ObjInfoHolder()
Method Detail

getInfoFromObj

public ObjInfo getInfoFromObj(IXmlObject iObj)

getInfoFromId

public ObjInfo getInfoFromId(java.lang.String iPathId)

addInfo

protected void addInfo(ObjInfo info)

removeAllInfo

protected void removeAllInfo()

dumpMessages

public void dumpMessages(int treshold,
                         java.io.PrintWriter iPrinter)
Dumps errors, warnings and informations in the given printer.

Parameters:
iPrinter - A printer object to write errors to.

hasMessages

public boolean hasMessages(int treshold)
Determines whether this portal has errors (instanciation/validation) or not.

Returns:
true if the portal has errors, false otherwise.

getAllMessages

public IXmlModelMessage[] getAllMessages()

getAllElementMessages

public IXmlModelMessage[] getAllElementMessages(IXmlObject iXmlElement)

getGlobalElementMessages

public IXmlModelMessage[] getGlobalElementMessages(IXmlObject iXmlElement)

getMappingElementMessages

public IXmlModelMessage[] getMappingElementMessages(IXmlObject iXmlElement,
                                                    java.lang.String iMappingName)

checkAllNodes

protected void checkAllNodes(java.lang.Object iValidSupport)


Copyright © 2008 eBMWebsourcing. All Rights Reserved.