Revision 2663
Added by sgarg over 18 years ago
AddMissedSubTreeSAXHandler.java | ||
---|---|---|
38 | 38 |
import java.util.Enumeration; |
39 | 39 |
import java.util.EmptyStackException; |
40 | 40 |
|
41 |
import org.apache.log4j.Logger; |
|
41 | 42 |
import org.xml.sax.Attributes; |
42 | 43 |
import org.xml.sax.SAXException; |
43 | 44 |
import org.xml.sax.SAXParseException; |
... | ... | |
62 | 63 |
private static final String ID ="id"; |
63 | 64 |
private static final String REFERENCES = "references"; |
64 | 65 |
public static final String INLINE = "inline"; |
65 |
|
|
66 |
private Logger logMetacat = Logger.getLogger(AddMissedSubTreeSAXHandler.class); |
|
67 |
|
|
66 | 68 |
|
67 | 69 |
/** Construct an instance of the handler class |
68 | 70 |
* In this constructor, user can specify the version need to upadate |
... | ... | |
118 | 120 |
public void endElement(String uri, String localName, |
119 | 121 |
String qName) throws SAXException |
120 | 122 |
{ |
121 |
MetaCatUtil.logMetacat.info("End ELEMENT " + qName); |
|
122 |
|
|
123 |
|
|
123 |
logMetacat.info("End ELEMENT " + qName); |
|
124 | 124 |
} |
125 | 125 |
|
126 | 126 |
} |
Also available in: Unified diff
Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call