| java.lang.Object org.xml.sax.helpers.DefaultHandler net.sourceforge.chaperon.model.lexicon.LexiconFactory
LexiconFactory | public class LexiconFactory extends DefaultHandler (Code) | | This class should generate a lexicon from a SAX stream
author: Stephan Michels version: CVS $Id: LexiconFactory.java,v 1.3 2003/12/09 19:55:52 benedikta Exp $ |
Method Summary | |
public void | endElement(String namespaceURI, String localName, String qName) Receive notification of the end of an element. | public Lexicon | getLexicon() | public void | setDocumentLocator(Locator locator) Receive an object for locating the origin of SAX document events. | public void | startDocument() Receive notification of the beginning of a document. | public void | startElement(String namespaceURI, String localName, String qName, Attributes atts) Receive notification of the beginning of an element.
Parameters: namespaceURI - The Namespace URI, or the empty string if the element has no Namespace URIor if Namespace processing is not being performed. Parameters: localName - The local name (without prefix), or the empty string if Namespace processingis not being performed. Parameters: qName - The raw XML 1.0 name (with prefix), or the empty string if raw names are notavailable. Parameters: atts - The attributes attached to the element. |
ALTERNATION_ELEMENT | final public static String ALTERNATION_ELEMENT(Code) | | Element name
|
BEGINOFLINE_ELEMENT | final public static String BEGINOFLINE_ELEMENT(Code) | | Element name
|
CHARACTERCLASS_ELEMENT | final public static String CHARACTERCLASS_ELEMENT(Code) | | Element name
|
CHARACTERINTERVAL_ELEMENT | final public static String CHARACTERINTERVAL_ELEMENT(Code) | | Element name
|
CHARACTERINTERVAL_MAX_ATTRIBUTE | final public static String CHARACTERINTERVAL_MAX_ATTRIBUTE(Code) | | Attribute name of the max property
|
CHARACTERINTERVAL_MIN_ATTRIBUTE | final public static String CHARACTERINTERVAL_MIN_ATTRIBUTE(Code) | | Attribute name of the min property
|
CHARACTERSET_CHARACTERS_ATTRIBUTE | final public static String CHARACTERSET_CHARACTERS_ATTRIBUTE(Code) | | Attribute name of the characters property
|
CHARACTERSET_ELEMENT | final public static String CHARACTERSET_ELEMENT(Code) | | Element name
|
CHARACTERSTRING_ELEMENT | final public static String CHARACTERSTRING_ELEMENT(Code) | | Element name
|
CHARACTERSTRING_SEQUENCE_ATTRIBUTE | final public static String CHARACTERSTRING_SEQUENCE_ATTRIBUTE(Code) | | Attribute name of the sequence property
|
CODE_ATTRIBUTE | final public static String CODE_ATTRIBUTE(Code) | | |
CONCATENATION_ELEMENT | final public static String CONCATENATION_ELEMENT(Code) | | Element name
|
ENDOFLINE_ELEMENT | final public static String ENDOFLINE_ELEMENT(Code) | | Element name
|
EXCLUSIVE_ATTRIBUTE | final public static String EXCLUSIVE_ATTRIBUTE(Code) | | Attribute name of the exclusive property
|
GROUP_ELEMENT | final public static String GROUP_ELEMENT(Code) | | Element name
|
LEXEME_ELEMENT | final public static String LEXEME_ELEMENT(Code) | | Element name
|
LEXICON_ELEMENT | final public static String LEXICON_ELEMENT(Code) | | Element name
|
MAXOCCURS_ATTRIBUTE | final public static String MAXOCCURS_ATTRIBUTE(Code) | | Attribute name of the minOccurs property
|
MINOCCURS_ATTRIBUTE | final public static String MINOCCURS_ATTRIBUTE(Code) | | Attribute name of the minOccurs property
|
NS | final public static String NS(Code) | | The namspace of the lexicon configuration
|
SYMBOL_ATTRIBUTE | final public static String SYMBOL_ATTRIBUTE(Code) | | Attribute name of the symbol property
|
UNIVERSALCHARACTER_ELEMENT | final public static String UNIVERSALCHARACTER_ELEMENT(Code) | | Element name
|
endElement | public void endElement(String namespaceURI, String localName, String qName) throws SAXException(Code) | | Receive notification of the end of an element.
Parameters: namespaceURI - The Namespace URI, or the empty string if the element has no Namespace URIor if Namespace processing is not being performed. Parameters: localName - The local name (without prefix), or the empty string if Namespace processingis not being performed. Parameters: qName - The raw XML 1.0 name (with prefix), or the empty string if raw names are notavailable. throws: SAXException - |
getLexicon | public Lexicon getLexicon()(Code) | | Returns the generated lexicon
Lexicon |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | Receive an object for locating the origin of SAX document events.
|
startDocument | public void startDocument()(Code) | | Receive notification of the beginning of a document.
|
startElement | public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException(Code) | | Receive notification of the beginning of an element.
Parameters: namespaceURI - The Namespace URI, or the empty string if the element has no Namespace URIor if Namespace processing is not being performed. Parameters: localName - The local name (without prefix), or the empty string if Namespace processingis not being performed. Parameters: qName - The raw XML 1.0 name (with prefix), or the empty string if raw names are notavailable. Parameters: atts - The attributes attached to the element. If there are no attributes, it shall be anempty Attributes object. |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|