Package org.ametys.cms.search.cocoon
Class ContentResultSetHelper.ResultFieldContentHandler
- java.lang.Object
-
- org.apache.excalibur.xml.sax.ContentHandlerProxy
-
- org.ametys.cms.search.cocoon.ContentResultSetHelper.ResultFieldContentHandler
-
- All Implemented Interfaces:
ContentHandler
- Enclosing class:
- ContentResultSetHelper
class ContentResultSetHelper.ResultFieldContentHandler extends ContentHandlerProxy
-
-
Field Summary
Fields Modifier and Type Field Description private int
_depth
Used to add fieldPath only on top level elementprivate String
_resultFieldPath
-
Constructor Summary
Constructors Constructor Description ResultFieldContentHandler(ContentHandler wrappedHandler, String fieldPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(String uri, String loc, String raw)
void
startElement(String uri, String loc, String raw, Attributes a)
-
Methods inherited from class org.apache.excalibur.xml.sax.ContentHandlerProxy
characters, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
-
-
-
-
Field Detail
-
_depth
private int _depth
Used to add fieldPath only on top level element
-
_resultFieldPath
private String _resultFieldPath
-
-
Constructor Detail
-
ResultFieldContentHandler
ResultFieldContentHandler(ContentHandler wrappedHandler, String fieldPath)
-
-
Method Detail
-
startElement
public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classContentHandlerProxy
- Throws:
SAXException
-
endElement
public void endElement(String uri, String loc, String raw) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classContentHandlerProxy
- Throws:
SAXException
-
-