com.openharbor.beck.write
Class OHXPathCollector
java.lang.Object
java.io.Writer
com.openharbor.beck.write.XMLWriter
com.openharbor.beck.write.OHXPathCollector
- public class OHXPathCollector
- extends XMLWriter
Collects OHXPaths by observing the XML event stream.
Field Summary |
protected org.apache.commons.logging.Log |
log
|
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class com.openharbor.beck.write.XMLWriter |
attribute, attributes, choosePrefix, endElement, getDocumentState, getElementStack, getElementStackTop, namespace, namespace, newMapKey, prefixToNamespace, resolveNamespace, setDocumentState, startElement, write, write |
Methods inherited from class java.io.Writer |
write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
OHXPathCollector
public OHXPathCollector(ObjectOHXPathMap.Policy policy,
java.util.Map object2xpath)
startElement
public void startElement(XMLThing tag)
throws java.io.IOException
- Overrides:
startElement
in class XMLWriter
- Throws:
java.io.IOException
declareNamespace
protected void declareNamespace(java.lang.String prefix,
java.lang.String namespaceURI)
- Specified by:
declareNamespace
in class XMLWriter
write
public void write(char[] s,
int offset,
int length)
- Description copied from class:
XMLWriter
- Add text content to the current element.
Do nothing if len <= 0.
- Specified by:
write
in class XMLWriter
flush
public void flush()
close
public void close()