Listing 7. DefaultPropHandler Implementation /** * This handler saves the text between tags under the tag name in the map * to be used by the other handlers */ class DefaultPropHandler implements SAXTagHandler { public void onStartTag(String argTagNamespace, String argLocalTagName, String argQName, Attributes argAttributes, StringBuffer argText, Map argContext, NamespaceContext argNamespaceContext) throws SAXException { argContext.put(0 == argTagNamespace.length() ? argQName : argLocalTagName, argText.toString()); } public void onEndTag(String argTagNamespace, String argLocalTagName, String argQName, Map argContext, NamespaceContext argNamespaceContext) throws SAXException { } }