public class CreoleXmlUpperCaseFilter extends XMLFilterImpl
XMLFilter
implementation used when reading a creole.xml
file to ensure that all the standard creole elements and their
attribute names are converted to upper case. All the creole.xml files
built into GATE use upper case for their elements and attributes, but
historically the files have been treated case-insensitively.
Non-standard elements (which are added as features of the resource)
are untouched.Constructor and Description |
---|
CreoleXmlUpperCaseFilter() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String uri,
String localName,
String name)
Process the end of an element.
|
void |
startElement(String uri,
String localName,
String name,
Attributes atts)
Process the start of an element.
|
characters, endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
endElement
in class XMLFilterImpl
SAXException
public void startElement(String uri, String localName, String name, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class XMLFilterImpl
SAXException
Copyright © 2024 GATE. All rights reserved.