com.atlassian.jira.imports.project.handler
Class AbstractImportPartitionHandler

java.lang.Object
  extended by com.atlassian.jira.imports.project.handler.AbstractImportPartitionHandler
All Implemented Interfaces:
ImportEntityHandler
Direct Known Subclasses:
IssuePartitonHandler, IssueRelatedEntitiesPartionHandler

public abstract class AbstractImportPartitionHandler
extends Object
implements ImportEntityHandler

Abstract base class that will print "" open and closing tags at the begining and end of handling a document.

Since:
v3.13

Constructor Summary
AbstractImportPartitionHandler(PrintWriter printWriter, String encoding)
           
 
Method Summary
 void assertModelEntityForName(org.ofbiz.core.entity.model.ModelEntity modelEntity, String expectedName)
           
 void endDocument()
          Provides the implementation an opportunity to perform some action when the document is finished being read.
 String getEncoding()
           
 void startDocument()
          Provides the implementation an opportunity to perform some action when the document is starting to be read.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.imports.project.handler.ImportEntityHandler
handleEntity
 

Constructor Detail

AbstractImportPartitionHandler

public AbstractImportPartitionHandler(PrintWriter printWriter,
                                      String encoding)
Method Detail

startDocument

public void startDocument()
Description copied from interface: ImportEntityHandler
Provides the implementation an opportunity to perform some action when the document is starting to be read.

Specified by:
startDocument in interface ImportEntityHandler

endDocument

public void endDocument()
Description copied from interface: ImportEntityHandler
Provides the implementation an opportunity to perform some action when the document is finished being read.

Specified by:
endDocument in interface ImportEntityHandler

assertModelEntityForName

public void assertModelEntityForName(org.ofbiz.core.entity.model.ModelEntity modelEntity,
                                     String expectedName)

getEncoding

public String getEncoding()


Copyright © 2002-2008 Atlassian. All Rights Reserved.