ilog.cpl.storage
Class IlpAbstractReader

java.lang.Object
  extended by ilog.cpl.storage.internal.IlpAbstractElementReader
      extended by ilog.cpl.storage.IlpAbstractReader

public abstract class IlpAbstractReader
extends ilog.cpl.storage.internal.IlpAbstractElementReader

Abstract reader class for all the CPL data storage readers.

Since:
JTGO 3.0

Field Summary
 
Fields inherited from class ilog.cpl.storage.internal.IlpAbstractElementReader
context
 
Constructor Summary
protected IlpAbstractReader()
          Constructor.
protected IlpAbstractReader(IlpContext context)
          Constructor.
protected IlpAbstractReader(IlpContext cxt, boolean val)
          Constructor
 
Method Summary
protected  Document createDocument()
          Create DOM document
 IlpStorageAdapter getAdapter()
          Get the current storage adapter used by the reader.
 Document getDocument()
          Get the current DOM document used by the reader.
 boolean getValidation()
          Returns if validation is on or off.
 void setAdapter(IlpStorageAdapter adapter)
          Set the storage adapter used by the reader.
protected  void setDocument(Document d)
          Sets the current DOM document used by this reader.
 
Methods inherited from class ilog.cpl.storage.internal.IlpAbstractElementReader
toBoolean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpAbstractReader

protected IlpAbstractReader()
Constructor.


IlpAbstractReader

protected IlpAbstractReader(IlpContext context)
Constructor.


IlpAbstractReader

protected IlpAbstractReader(IlpContext cxt,
                            boolean val)
Constructor

Parameters:
cxt - Application context
val - Validation flag
Since:
JViews 7.5
Method Detail

setAdapter

public void setAdapter(IlpStorageAdapter adapter)
Set the storage adapter used by the reader.

Parameters:
adapter - Adapter to use for the reader.

getAdapter

public IlpStorageAdapter getAdapter()
Get the current storage adapter used by the reader.

Returns:
Current adapter used by the reader.

getDocument

public Document getDocument()
Get the current DOM document used by the reader.

Returns:
Current document used by the reader.

setDocument

protected void setDocument(Document d)
Sets the current DOM document used by this reader.

Parameters:
d - New document
Since:
JViews 7.5

getValidation

public boolean getValidation()
Returns if validation is on or off.

Returns:
true if validation is on, false otherwise.
Since:
JViews 7.5

createDocument

protected Document createDocument()
                           throws IOException
Create DOM document

Throws:
IOException


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.