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

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

public class EnumPropertyParser
extends DefaultFragmentParser<ImportedProperty>


Constructor Summary
EnumPropertyParser(java.lang.String elementName)
           
 
Method Summary
 ImportedProperty build()
           
protected  void delegateDone()
           
 void handleCharacters(char[] ch, int start, int length)
           
protected  void initialise(org.xml.sax.Attributes attributes)
           
protected  FragmentParser<?> newDelegate(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.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

EnumPropertyParser

public EnumPropertyParser(java.lang.String elementName)
Method Detail

initialise

protected void initialise(org.xml.sax.Attributes attributes)
Specified by:
initialise in class DefaultFragmentParser<ImportedProperty>

newDelegate

protected FragmentParser<?> newDelegate(java.lang.String uri,
                                        java.lang.String localName,
                                        java.lang.String qName,
                                        org.xml.sax.Attributes attributes)
                                 throws org.xml.sax.SAXException
Specified by:
newDelegate in class DefaultFragmentParser<ImportedProperty>
Throws:
org.xml.sax.SAXException

delegateDone

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

handleCharacters

public void handleCharacters(char[] ch,
                             int start,
                             int length)
                      throws org.xml.sax.SAXException
Overrides:
handleCharacters in class DefaultFragmentParser<ImportedProperty>
Throws:
org.xml.sax.SAXException

build

public ImportedProperty build()


Copyright © 2003-2014 Atlassian. All Rights Reserved.