|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.joost.stx.BufferReader
An XMLReader object that uses the events from a buffer.
Field Summary | |
private ContentHandler |
contH
the content handler object |
private SAXEvent[] |
events
the array of events to be feed into the external SAX processor |
private LexicalHandler |
lexH
the lexical handler object |
Fields inherited from interface net.sf.joost.Constants |
DEBUG, DEFAULT_ENCODING, FEAT_NS, FEAT_NSPREFIX, FEATURE_URI_PREFIX, FUNC_NS, JOOST_EXT_NS, PR_ATTRIBUTES, PR_BUFFER, PR_CHILDREN, PR_CONTINUE, PR_ERROR, PR_SELF, PR_SIBLINGS, STX_NS |
Constructor Summary | |
BufferReader(Context context,
String bufQName,
String bufExpName,
String publicId,
String systemId,
int lineNo,
int colNo)
Constructs a new BufferReader object. |
Method Summary | |
ContentHandler |
getContentHandler()
|
DTDHandler |
getDTDHandler()
|
EntityResolver |
getEntityResolver()
|
ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(String name)
|
Object |
getProperty(String name)
|
void |
parse(ContentHandler contH,
LexicalHandler lexH)
Do the real work: emit SAX events to the handler objects. |
void |
parse(InputSource dummy)
|
void |
parse(String dummy)
|
void |
setContentHandler(ContentHandler handler)
|
void |
setDTDHandler(DTDHandler handler)
does nothing |
void |
setEntityResolver(EntityResolver resolver)
does nothing |
void |
setErrorHandler(ErrorHandler handler)
does nothing |
void |
setFeature(String name,
boolean state)
|
void |
setProperty(String name,
Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private LexicalHandler lexH
private ContentHandler contH
private SAXEvent[] events
Constructor Detail |
public BufferReader(Context context, String bufQName, String bufExpName, String publicId, String systemId, int lineNo, int colNo) throws SAXException
BufferReader
object.
context
- the current contextbufQName
- the qualified name of the buffer as used in the
transformation sheet (only needed for creating an
error message)bufExpName
- the internal expanded namepublicId
- public id of the calling instructionsystemId
- system id of the calling instructionlineNo
- line number of the calling instructioncolNo
- column number of the calling instruction
SAXException
- if there's no such bufferMethod Detail |
public void setFeature(String name, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException
setFeature
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public boolean getFeature(String name) throws SAXNotRecognizedException
getFeature
in interface XMLReader
SAXNotRecognizedException
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException
setProperty
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public Object getProperty(String name) throws SAXNotRecognizedException
getProperty
in interface XMLReader
SAXNotRecognizedException
public void setEntityResolver(EntityResolver resolver)
setEntityResolver
in interface XMLReader
public EntityResolver getEntityResolver()
getEntityResolver
in interface XMLReader
null
public void setDTDHandler(DTDHandler handler)
setDTDHandler
in interface XMLReader
public DTDHandler getDTDHandler()
getDTDHandler
in interface XMLReader
null
public void setContentHandler(ContentHandler handler)
setContentHandler
in interface XMLReader
public ContentHandler getContentHandler()
getContentHandler
in interface XMLReader
public void setErrorHandler(ErrorHandler handler)
setErrorHandler
in interface XMLReader
public ErrorHandler getErrorHandler()
getErrorHandler
in interface XMLReader
public void parse(InputSource dummy) throws SAXException
parse
in interface XMLReader
SAXException
public void parse(String dummy) throws SAXException
parse
in interface XMLReader
SAXException
public void parse(ContentHandler contH, LexicalHandler lexH) throws SAXException
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |