Rule Execution Server API

ilog.rules.xml.util
Interface IlrXmlErrorManager


public interface IlrXmlErrorManager

This interface is useful to declare errors and warning to the data processing. It is not likely to be implemented by users but rather used when notified to an instance of IlrXmlErrorHandler

See Also:
IlrXmlErrorHandler, IlrXmlError

Method Summary
 int getCurrentColumn()
          Get the current column in the XML source of the XML parsing.
 int getCurrentLine()
          Get the current line in the XML source of the XML parsing.
 String getCurrentPublicId()
          Get the XML source public ID currently parsed by the XML processing.
 String getCurrentSystemId()
          Get the XML source system ID currently parsed by the XML processing.
 String getCurrentXPath()
          Get the current XPath location in the XML source of the XML parsing.
 void insertError(IlrXmlError error, IlrXmlErrorHandler handler)
          Insert an error knowing its handler
 void insertWarning(IlrXmlError error, IlrXmlErrorHandler handler)
          Insert a warning knowing its handler
 

Method Detail

insertError

void insertError(IlrXmlError error,
                 IlrXmlErrorHandler handler)
Insert an error knowing its handler


insertWarning

void insertWarning(IlrXmlError error,
                   IlrXmlErrorHandler handler)
Insert a warning knowing its handler


getCurrentLine

int getCurrentLine()
Get the current line in the XML source of the XML parsing. It returns IlrXmlError.UNKNOWN when unknown


getCurrentColumn

int getCurrentColumn()
Get the current column in the XML source of the XML parsing. It returns IlrXmlError.UNKNOWN when unknown


getCurrentXPath

String getCurrentXPath()
Get the current XPath location in the XML source of the XML parsing. It returns null when unknown


getCurrentSystemId

String getCurrentSystemId()
Get the XML source system ID currently parsed by the XML processing. It returns null when unknown


getCurrentPublicId

String getCurrentPublicId()
Get the XML source public ID currently parsed by the XML processing. It returns null when unknown


Rule Execution Server API

© Copyright IBM Corp. 1987, 2013