OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.agent.gecko
Class AdfFireBugLogWriter

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.logging.AdfLogWriter
               |
               +--oracle.adfinternal.view.js.agent.gecko.AdfFireBugLogWriter

public class AdfFireBugLogWriter
extends AdfLogWriter
AdfLogWriter subclass that writes the logged messages to the FireBug console as they are published if FireBug is installed. See For documentation on using FireBug



Field Summary

private Object
_errorLogWriter
public static Object
WRITE_ERRORS_TO_CONSOLE


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfFireBugLogWriter(Object parentWindow, Object backupLogWriter)
AdfLogWriter subclass that writes the logged messages to the FireBug console as they are published if FireBug is installed.


Method Summary

private static Object
_assertionHook(Object message, Object skipLevel, Object reason)
Hook to call before original AdfAssert.assertionFailed() code in order to take advantage of FireBug stack generation
public Object
close()
Close the AdfLogWriter and free all associated resources.
public Object
flush()
Flush any buffered output.
protected Object
Init(Object parentWindow, Object backupLogWriter)
Initializes the instance.
protected Object
PublishImpl(AdfLogRecord logRecord)
Write the record to the FireBug console in Gecko console
private String
_wrapText(String theText)
Wrap the text so that FireBug doesn't truncate it


Methods inherited from oracle.adf.view.js.logging.AdfLogWriter

CheckIfClosed, FormatError, FormatLevel, FormatLogRecord, FormatMessage, FormatWhen, getFilter, publish, setFilter


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


_errorLogWriter

private Object _errorLogWriter

WRITE_ERRORS_TO_CONSOLE

public static Object WRITE_ERRORS_TO_CONSOLE

Constructor Detail


AdfFireBugLogWriter

public AdfFireBugLogWriter(Object parentWindow,
                           Object backupLogWriter)

AdfLogWriter subclass that writes the logged messages to the FireBug console as they are published if FireBug is installed. See For documentation on using FireBug

Parameters:
parentWindow    
backupLogWriter    

Method Detail


_assertionHook

private static Object _assertionHook(Object message,
                                     Object skipLevel,
                                     Object reason)

Hook to call before original AdfAssert.assertionFailed() code in order to take advantage of FireBug stack generation

Parameters:
message    
skipLevel    
reason    
Return:
Object

close

public Object close()

Close the AdfLogWriter and free all associated resources.

The close method will perform a flush and then close the AdfLogWriter. After close has been called this AdfLogWriter should no longer be used. Method calls may either be silently ignored or may throw runtime exceptions.


Return:
Object
Overrides:
AdfLogWriter.close()

flush

public Object flush()

Flush any buffered output.

Return:
Object
Overrides:
AdfLogWriter.flush()

Init

protected Object Init(Object parentWindow,
                      Object backupLogWriter)

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Parameters:
parentWindow    
backupLogWriter    
Return:
Object
Overrides:
AdfObject.Init()

PublishImpl

protected Object PublishImpl(AdfLogRecord logRecord)

Write the record to the FireBug console in Gecko console

Parameters:
logRecord  -  The AdfLogRecord to publish to the AdfLogWriter
Return:
Object
Overrides:
AdfLogWriter.PublishImpl(Object)

_wrapText

private String _wrapText(String theText)

Wrap the text so that FireBug doesn't truncate it

Parameters:
theText  -  Text to wrap
Return:
String - theText with carriage returns added in order to force wrapping

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2011.08.31 02:41 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.