下面列出了怎么用org.xml.sax.DocumentHandler的API类实例代码及写法,或者点击链接到github查看源代码。
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public DocumentHandler asDocumentHandler()
throws IOException
{
prepare();
return this;
}
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
documentHandler = handler;
}
public void setDocumentHandler(DocumentHandler handler) {
logger.add("setDocumentHandler", handler);
}
public void setDocumentHandler(DocumentHandler handler) {
}
public void setDocumentHandler(DocumentHandler handler) {
}
public void setDocumentHandler(DocumentHandler handler) {
}
public void setDocumentHandler(DocumentHandler handler) {
}
/**
* Register the SAX1 document event handler.
*
* <p>Note that the SAX1 document handler has no Namespace
* support.</p>
*
* @param handler The new SAX1 document event handler.
* @see org.xml.sax.Parser#setDocumentHandler
*/
public void setDocumentHandler (DocumentHandler handler)
{
documentHandler = handler;
}
/**
* Allow an application to register a document event handler.
* <p>
* If the application does not register a document handler, all
* document events reported by the SAX parser will be silently
* ignored (this is the default behaviour implemented by
* HandlerBase).
* <p>
* Applications may register a new or different handler in the
* middle of a parse, and the SAX parser must begin using the new
* handler immediately.
*
* @param documentHandler The document handler.
*/
public void setDocumentHandler(DocumentHandler documentHandler) {
fDocumentHandler = documentHandler;
}
/**
* Return a {@link DocumentHandler} interface into this serializer.
* If the serializer does not support the {@link DocumentHandler}
* interface, it should return null.
*/
public DocumentHandler asDocumentHandler()
throws IOException;
/**
* Register the SAX1 document event handler.
*
* <p>Note that the SAX1 document handler has no Namespace
* support.</p>
*
* @param handler The new SAX1 document event handler.
* @see org.xml.sax.Parser#setDocumentHandler
*/
public void setDocumentHandler (DocumentHandler handler)
{
documentHandler = handler;
}