⚲
Project
Profile
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Search
:
Projects
All Projects
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Saxon
Overview
Roadmap
Issues
Calendar
Blog
Documents
Forums
Files
Repository
Download (1.07 KB)
Support #3237
» PseudoXMLReader.java
Aniruddha Joag
, 2017-05-25 17:44
package
test.saxon.streaming.transformerhandler
;
import
org.xml.sax.*
;
import
org.xml.sax.helpers.XMLFilterImpl
;
import
java.io.IOException
;
public
class
PseudoXMLReader
extends
XMLFilterImpl
{
private
ContentHandler
contentHandler
;
@Override
public
ContentHandler
getContentHandler
()
{
return
contentHandler
;
}
@Override
public
void
setContentHandler
(
ContentHandler
handler
)
{
System
.
out
.
println
(
"PseudoXMLReader -> setContentHandler. handler = "
+
handler
.
getClass
().
getName
());
contentHandler
=
handler
;
}
@Override
public
void
setFeature
(
String
name
,
boolean
value
)
throws
SAXNotRecognizedException
,
SAXNotSupportedException
{
// super.setFeature(name, value);
}
@Override
public
void
parse
(
InputSource
input
)
throws
SAXException
,
IOException
{
//do nothing - the sax events will be coming from the previous transform
}
@Override
public
void
parse
(
String
systemId
)
throws
SAXException
,
IOException
{
//do nothing - the sax events will be coming from the previous transform
}
}
« Previous
1
2
3
4
5
6
…
15
Next »
(4-4/15)
Loading...