com.atlassian.confluence.importexport.xmlimport.parser
Class PrimitivePropertyParser

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by com.atlassian.confluence.importexport.xmlimport.parser.DefaultFragmentParser<PrimitiveProperty>
          extended by com.atlassian.confluence.importexport.xmlimport.parser.PrimitivePropertyParser
All Implemented Interfaces:
FragmentParser<PrimitiveProperty>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class PrimitivePropertyParser
extends DefaultFragmentParser<PrimitiveProperty>


Constructor Summary
PrimitivePropertyParser(String elementName)
           
 
Method Summary
 PrimitiveProperty build()
           
protected  void delegateDone()
           
 void handleCharacters(char[] ch, int start, int length)
           
protected  void initialise(Attributes attributes)
           
protected  FragmentParser<?> newDelegate(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class com.atlassian.confluence.importexport.xmlimport.parser.DefaultFragmentParser
characters, endElement, getDelegate, isDone, setDelegate, startElement
 
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
 

Constructor Detail

PrimitivePropertyParser

public PrimitivePropertyParser(String elementName)
Method Detail

initialise

protected void initialise(Attributes attributes)
Specified by:
initialise in class DefaultFragmentParser<PrimitiveProperty>

newDelegate

protected FragmentParser<?> newDelegate(String uri,
                                        String localName,
                                        String qName,
                                        Attributes attributes)
                                 throws SAXException
Specified by:
newDelegate in class DefaultFragmentParser<PrimitiveProperty>
Throws:
SAXException

delegateDone

protected void delegateDone()
Specified by:
delegateDone in class DefaultFragmentParser<PrimitiveProperty>

handleCharacters

public void handleCharacters(char[] ch,
                             int start,
                             int length)
                      throws SAXException
Overrides:
handleCharacters in class DefaultFragmentParser<PrimitiveProperty>
Throws:
SAXException

build

public PrimitiveProperty build()


Copyright © 2003–2015 Atlassian. All rights reserved.