Class DefaultFragmentParser<T>
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.atlassian.confluence.importexport.xmlimport.parser.DefaultFragmentParser<T>
-
- All Implemented Interfaces:
FragmentParser<T>
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
CollectionPropertyParser
,ComponentParser
,CompositeIdParser
,EnumPropertyParser
,ImportedObjectParser
,PrimitiveIdParser
,PrimitivePropertyParser
,ReferencePropertyParser
@Deprecated public abstract class DefaultFragmentParser<T> extends DefaultHandler implements FragmentParser<T>
Deprecated.since 7.17.0
-
-
Constructor Summary
Constructors Constructor Description DefaultFragmentParser(String elementName)
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
Deprecated.protected abstract void
delegateDone()
Deprecated.void
endElement(String uri, String localName, String qName)
Deprecated.protected FragmentParser<?>
getDelegate()
Deprecated.protected void
handleCharacters(char[] ch, int start, int length)
Deprecated.protected abstract void
initialise(Attributes attributes)
Deprecated.boolean
isDone()
Deprecated.protected abstract FragmentParser<?>
newDelegate(String uri, String localName, String qName, Attributes attributes)
Deprecated.protected void
setDelegate(FragmentParser<?> delegate)
Deprecated.void
startElement(String uri, String localName, String qName, Attributes attributes)
Deprecated.-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xml.sax.ContentHandler
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
-
Methods inherited from interface com.atlassian.confluence.importexport.xmlimport.parser.FragmentParser
build
-
-
-
-
Constructor Detail
-
DefaultFragmentParser
public DefaultFragmentParser(String elementName)
Deprecated.
-
-
Method Detail
-
startElement
public final void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
Deprecated.- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
characters
public final void characters(char[] ch, int start, int length) throws SAXException
Deprecated.- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
- Throws:
SAXException
-
endElement
public final void endElement(String uri, String localName, String qName) throws SAXException
Deprecated.- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
handleCharacters
protected void handleCharacters(char[] ch, int start, int length) throws SAXException
Deprecated.- Throws:
SAXException
-
getDelegate
protected FragmentParser<?> getDelegate()
Deprecated.
-
setDelegate
protected void setDelegate(FragmentParser<?> delegate)
Deprecated.
-
initialise
protected abstract void initialise(Attributes attributes)
Deprecated.
-
newDelegate
protected abstract FragmentParser<?> newDelegate(String uri, String localName, String qName, Attributes attributes) throws SAXException
Deprecated.- Throws:
SAXException
-
delegateDone
protected abstract void delegateDone()
Deprecated.
-
isDone
public boolean isDone()
Deprecated.- Specified by:
isDone
in interfaceFragmentParser<T>
-
-