Skip to end of metadata
Go to start of metadata

Say we have a bit of XML for a filter that we want to parse and get a Filter. First, we need a FilterHandler to receive the Filter from the parser. If we don't need to do anything else at that point, something like the following is sufficient:

SimpleFilterHandler.java

Then, given an InputSource for the XML, our parse code would look like:

"Parse Method"
  • No labels