org.cdlib.xtf.xslt
Class XMLStubReader.StubLexicalHandler
Object
XMLStubReader.StubLexicalHandler
- All Implemented Interfaces:
- LexicalHandler
- Enclosing class:
- XMLStubReader
private class XMLStubReader.StubLexicalHandler
- extends Object
- implements LexicalHandler
Handles 'lexical' events. We mainly need to catch the start of the DTD
and turn that even into an unparsed entity declaration so that Saxon will
keep a record of it.
Field Summary |
private LexicalHandler |
out
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
private LexicalHandler out
XMLStubReader.StubLexicalHandler
public XMLStubReader.StubLexicalHandler(LexicalHandler out)
startDTD
public void startDTD(String name,
String publicId,
String systemId)
throws SAXException
- Specified by:
startDTD
in interface LexicalHandler
- Throws:
SAXException
endDTD
public void endDTD()
throws SAXException
- Specified by:
endDTD
in interface LexicalHandler
- Throws:
SAXException
startEntity
public void startEntity(String name)
throws SAXException
- Specified by:
startEntity
in interface LexicalHandler
- Throws:
SAXException
endEntity
public void endEntity(String name)
throws SAXException
- Specified by:
endEntity
in interface LexicalHandler
- Throws:
SAXException
comment
public void comment(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
comment
in interface LexicalHandler
- Throws:
SAXException
startCDATA
public void startCDATA()
throws SAXException
- Specified by:
startCDATA
in interface LexicalHandler
- Throws:
SAXException
endCDATA
public void endCDATA()
throws SAXException
- Specified by:
endCDATA
in interface LexicalHandler
- Throws:
SAXException