public class DefaultEntryParser extends AbstractJcrNodeParser<Set<String>>
AbstractJcrNodeParser that builds and records paths of all elements (nodes) using the
specified initial repository path.detectedPrimaryType, JCR_ROOT| Constructor and Description |
|---|
DefaultEntryParser(@NotNull String repositoryPath)
Create a new
DefaultEntryParser. |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String uri,
String localName,
String qName) |
Set<String> |
getParsingResult() |
protected void |
onJcrRootElement(String uri,
String localName,
String qName,
Attributes attributes) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
onJcrRootNode, parsecharacters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic DefaultEntryParser(@NotNull
@NotNull String repositoryPath)
DefaultEntryParser.repositoryPath - The base repository path used to build absolute paths from the parsed elements.public void startElement(String uri, String localName, String qName, Attributes attributes)
startElement in interface ContentHandlerstartElement in class AbstractJcrNodeParser<Set<String>>public void endElement(String uri, String localName, String qName)
endElement in interface ContentHandlerendElement in class DefaultHandlerprotected void onJcrRootElement(String uri, String localName, String qName, Attributes attributes)
onJcrRootElement in class AbstractJcrNodeParser<Set<String>>public Set<String> getParsingResult()
getParsingResult in class AbstractJcrNodeParser<Set<String>>Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.