|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.factory.translation.IlrTranslationParser
public class IlrTranslationParser
Translation parser. It can parse a b2x file into a translation configuration.
Constructor Summary | |
---|---|
IlrTranslationParser()
Creates a translation parser. |
|
IlrTranslationParser(ErrorHandler errorHandler)
Creates a translation parser and specifies a SAX error handler to be used when parsing a file. |
Method Summary | |
---|---|
boolean |
isValidating()
Returns true if the parse methods will validate the files
against the B2X XML Schema. |
void |
parse(IlrTranslationConfiguration configuration,
Reader reader)
Parses a b2x file. |
void |
parsePath(IlrTranslationConfiguration configuration,
Reader[] readers)
Parses a path of b2x files. |
void |
setValidating(boolean validating)
Sets a Boolean value indicating whether validation against the XML Schema will be used when parsing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrTranslationParser()
public IlrTranslationParser(ErrorHandler errorHandler)
errorHandler
- A SAX error handler that will be used when parsing a file.Method Detail |
---|
public boolean isValidating()
true
if the parse methods will validate the files
against the B2X XML Schema.
true
if validation against the XML Schema will be
used when parsing.public void setValidating(boolean validating)
validating
- true
to set validating or false
otherwise.public void parsePath(IlrTranslationConfiguration configuration, Reader[] readers) throws IOException, SAXException
IOException
SAXException
configuration
- A translation configuration that will be filled with the
information given in the readers.readers
- An array of readers that will be read in order.public void parse(IlrTranslationConfiguration configuration, Reader reader) throws IOException, SAXException
IOException
SAXException
configuration
- A translation configuration that will be filled with the
information given in the reader.reader
- A reader.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |