Class PrimaryTypeParser
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.apache.sling.feature.cpconverter.shared.AbstractJcrNodeParser<String>
-
- org.apache.sling.feature.cpconverter.repoinit.createpath.PrimaryTypeParser
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public final class PrimaryTypeParser extends AbstractJcrNodeParser<String>
-
-
Field Summary
-
Fields inherited from class org.apache.sling.feature.cpconverter.shared.AbstractJcrNodeParser
detectedPrimaryType, JCR_ROOT
-
-
Constructor Summary
Constructors Constructor Description PrimaryTypeParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetParsingResult()protected voidonJcrRootElement(String uri, String localName, String qName, Attributes attributes)protected voidonJcrRootNode(String uri, String localName, String qName, Attributes attributes, String primaryType)-
Methods inherited from class org.apache.sling.feature.cpconverter.shared.AbstractJcrNodeParser
parse, startElement
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
onJcrRootNode
protected void onJcrRootNode(String uri, String localName, String qName, Attributes attributes, String primaryType)
- Overrides:
onJcrRootNodein classAbstractJcrNodeParser<String>
-
onJcrRootElement
protected void onJcrRootElement(String uri, String localName, String qName, Attributes attributes)
- Specified by:
onJcrRootElementin classAbstractJcrNodeParser<String>
-
getParsingResult
protected String getParsingResult()
- Specified by:
getParsingResultin classAbstractJcrNodeParser<String>
-
-