RuleParser Class

com.bea.commerce.ebusiness.price.engine
RuleParser Class

public class RuleParser

    extends Object
    implements ContentHandler, ErrorHandler

This class is not intended to be used concurrently.


Hierarchy
Object
  RuleParser
All Implemented Interfaces

ContentHandler, ErrorHandler

Field Summary

public static final String
cName
String
 

Constructor Summary

RuleParser(QualificationDiscountDef def)

 

Method Summary

public void
characters(char[] chars, int start, int length)
public void
endDocument()
public void
endElement(String namespaceURI, String localName, String qName)
public void
endPrefixMapping(String prefix)
public void
error(SAXParseException e)
public void
fatalError(SAXParseException e)
public DiscountModifier
getModifier()
public SelectionRule
getSelectionRule()
public void
ignorableWhitespace(char[] chars, int start, int length)
public void
init()
public void
processingInstruction(String target, String data)
public boolean
run()
public void
setDocumentLocator(Locator locator)
public void
skippedEntity(String name)
public void
startDocument()
public void
startElement(String namespaceURI, String localName, String qName, Attributes attributes)
public void
startPrefixMapping(String prefix, String uri)
public void
warning(SAXParseException e)
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods from interface org.xml.sax.ErrorHandler
error, fatalError, warning
 

Field Detail

cName

public static final String cName

 

Constructor Detail

RuleParser

public RuleParser(QualificationDiscountDef def)
 

Method Detail

characters(char[], int, int) Method

public void characters(char[] chars, 
                       int start, 
                       int length)
throws SAXException

Exceptions

SAXException

endDocument() Method

public void endDocument()
throws SAXException

Exceptions

SAXException

endElement(String, String, String) Method

public void endElement(String namespaceURI, 
                       String localName, 
                       String qName)
throws SAXException

Exceptions

SAXException

endPrefixMapping(String) Method

public void endPrefixMapping(String prefix)
throws SAXException

Exceptions

SAXException

error(SAXParseException) Method

public void error(SAXParseException e)
throws SAXException

Exceptions

SAXException

fatalError(SAXParseException) Method

public void fatalError(SAXParseException e)
throws SAXException

Exceptions

SAXException

getModifier() Method

public DiscountModifier getModifier()

getSelectionRule() Method

public SelectionRule getSelectionRule()

ignorableWhitespace(char[], int, int) Method

public void ignorableWhitespace(char[] chars, 
                                int start, 
                                int length)
throws SAXException

Exceptions

SAXException

init() Method

public void init()

processingInstruction(String, String) Method

public void processingInstruction(String target, 
                                  String data)
throws SAXException

Exceptions

SAXException

run() Method

public boolean run()
throws RuleParsingException

Exceptions

RuleParsingException

setDocumentLocator(Locator) Method

public void setDocumentLocator(Locator locator)

skippedEntity(String) Method

public void skippedEntity(String name)
throws SAXException

Exceptions

SAXException

startDocument() Method

public void startDocument()
throws SAXException

Exceptions

SAXException

startElement(String, String, String, Attributes) Method

public void startElement(String namespaceURI, 
                         String localName, 
                         String qName, 
                         Attributes attributes)
throws SAXException

Exceptions

SAXException

startPrefixMapping(String, String) Method

public void startPrefixMapping(String prefix, 
                               String uri)
throws SAXException

Exceptions

SAXException

warning(SAXParseException) Method

public void warning(SAXParseException e)
throws SAXException

Exceptions

SAXException