|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl<T> oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc<T>
public abstract class DiagJAXBXMLDoc<T>
Represents a diagnostics business object that can be represented in XML and marshalled and unmarshalled using JAXB
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary | |
---|---|
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
errMsgOnLoadXML
|
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
errMsgOnValXML
|
Constructor Summary | |
---|---|
DiagJAXBXMLDoc()
|
Method Summary | |
---|---|
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
getErrMsgOnLoadXML()
Gets the ResourceRef modeling the error message for any errors that occur when loading the XML document |
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
getErrMsgOnValXML()
Returns the ResourceRef representing the validation error message |
protected abstract oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
getErrorMsgOnLoadXmlErr()
Returns an instance of the resource with the error message when there is an failure to load XML using JAXB |
protected abstract oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
getErrorMsgOnXmlValErr(int pLine,
int pCol,
java.lang.String pMsg)
Returns an instance of the resource with the error message when there is validation error in the source XML |
protected abstract java.lang.Object |
getJAXBMetadataObj()
Gets the top level JAXB object for the metadata |
protected abstract java.lang.String |
getJAXBPkg()
Gets the JAXB object package for this metadata |
protected void |
load(org.xml.sax.InputSource s)
Populates this object from the given test definition metadata input source. |
protected abstract void |
performPostLoad()
Callback hook for performing any post-load operations after loading of a XML document. |
protected void |
reactToValidationEvents(javax.xml.bind.util.ValidationEventCollector pVC,
oracle.apps.fnd.appllcm.sdk.common.LCMLog pLog,
java.lang.Exception e)
Reacts to the given set of validation events in the given VaildationCollector by i) logging the events at an appropriate level ii) throwing an LCMException in case of any fatal errors or errors. |
protected void |
saveJAXB()
Saves the JAXB Object tree into a String format and sets it on this object by calling setJAXBMetadataStr() API |
protected void |
saveToFile(java.lang.String pOutfile)
Saves the JAXB content tree to the file system at the given file path location. |
protected void |
setErrMsgOnLoadXML(oracle.apps.fnd.appllcm.sdk.common.ResourceRef newerrMsgOnLoadXML)
Sets the ResourceRef modeling the error message for any errors that occur when loading the XML document |
protected void |
setErrMsgOnValXML(oracle.apps.fnd.appllcm.sdk.common.ResourceRef newerrMsgOnValXML)
Sets the ResourceRef representing the validation error message |
protected abstract void |
setJAXBMetadataObj(java.lang.Object pMd)
Sets the top level JAXB object for the metadata |
protected abstract void |
setJAXBMetadataStr(java.lang.String pXMLStr)
Sets the marshalled XML document for the metadata in String format |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl |
---|
copy, copyCommon, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObj |
---|
copyT |
Field Detail |
---|
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef errMsgOnLoadXML
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef errMsgOnValXML
Constructor Detail |
---|
public DiagJAXBXMLDoc()
Method Detail |
---|
protected abstract void setJAXBMetadataObj(java.lang.Object pMd)
pMd
- the top level JAXB object for the metadataprotected abstract java.lang.Object getJAXBMetadataObj()
protected abstract void setJAXBMetadataStr(java.lang.String pXMLStr)
pXMLStr
- marshalled XML documentprotected abstract java.lang.String getJAXBPkg()
protected abstract oracle.apps.fnd.appllcm.sdk.common.ResourceRef getErrorMsgOnLoadXmlErr()
protected abstract oracle.apps.fnd.appllcm.sdk.common.ResourceRef getErrorMsgOnXmlValErr(int pLine, int pCol, java.lang.String pMsg)
pLine
- line number where the error occurredpCol
- column number where the error occurredpMsg
- validation error message
protected abstract void performPostLoad()
protected void load(org.xml.sax.InputSource s)
s
- input source for test definition metadataprotected void saveJAXB()
protected void saveToFile(java.lang.String pOutfile)
pOutfile
- file path location for the output XML file.protected void reactToValidationEvents(javax.xml.bind.util.ValidationEventCollector pVC, oracle.apps.fnd.appllcm.sdk.common.LCMLog pLog, java.lang.Exception e)
pLog
- - Logger to log topVC
- - collection of validation eventse
- - any base exception that was encountered.
oracle.apps.fnd.appllcm.sdk.common.LCMException
- in case of any validation errorsprotected void setErrMsgOnLoadXML(oracle.apps.fnd.appllcm.sdk.common.ResourceRef newerrMsgOnLoadXML)
newerrMsgOnLoadXML
- protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef getErrMsgOnLoadXML()
protected void setErrMsgOnValXML(oracle.apps.fnd.appllcm.sdk.common.ResourceRef newerrMsgOnValXML)
newerrMsgOnValXML
- protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef getErrMsgOnValXML()
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |