@NotStorableClass public abstract class AbstractCurrentHandler extends Object implements ICurrentHandler
| Modifier and Type | Field and Description |
|---|---|
protected ClassInfoFactory |
classInfoFactory |
protected static String |
END_ELEMENT_ERROR |
protected JoafipLogger |
logger |
protected static String |
START_ELEMENT_ERROR |
protected XmlImporter |
xmlImporter |
| Constructor and Description |
|---|
AbstractCurrentHandler(XmlImporter xmlImporter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertNumberOfAttribute(int numberOfAttributes,
int expectedNumberOfAttributes) |
protected void |
assertNumberOfAttribute(int numberOfAttributes,
int expectedMinNumberOfAttributes,
int expectedMaxNumberOfAttributes) |
protected String |
attribute(Map<String,String> attsMap,
String attributeName) |
protected Map<String,String> |
attributeMap(Attributes atts) |
protected Boolean |
booleanAttribute(Map<String,String> attsMap,
String attributeName) |
void |
characters(char[] chars,
int start,
int length) |
protected ClassDef |
classAttribute(Map<String,String> attsMap,
String attributeName) |
protected DataRecordIdentifier |
dataRecordIdentifierAttribute(Map<String,String> attsMap,
String attributeName) |
void |
endElement(String uri,
String localName,
String name,
Object data) |
protected ClassDef |
fieldDeclaringClassAttribute(ObjectModelForImport objectOwningField,
String fieldName,
Map<String,String> attsMap) |
Object |
getData() |
protected int |
intAttribute(Map<String,String> attsMap,
String attributeName) |
protected String |
location() |
protected long |
longAttribute(Map<String,String> attsMap,
String attributeName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartElementprotected final JoafipLogger logger
protected static final String START_ELEMENT_ERROR
protected static final String END_ELEMENT_ERROR
protected final XmlImporter xmlImporter
protected final ClassInfoFactory classInfoFactory
public AbstractCurrentHandler(XmlImporter xmlImporter)
public void endElement(String uri, String localName, String name, Object data) throws SAXException
endElement in interface ICurrentHandlerSAXExceptionpublic void characters(char[] chars,
int start,
int length)
throws SAXException
characters in interface ICurrentHandlerSAXExceptionpublic Object getData()
getData in interface ICurrentHandlerprotected Map<String,String> attributeMap(Attributes atts)
protected String attribute(Map<String,String> attsMap, String attributeName) throws SAXException
SAXExceptionprotected int intAttribute(Map<String,String> attsMap, String attributeName) throws SAXException
SAXExceptionprotected Boolean booleanAttribute(Map<String,String> attsMap, String attributeName) throws SAXException
SAXExceptionprotected long longAttribute(Map<String,String> attsMap, String attributeName) throws SAXException
SAXExceptionprotected DataRecordIdentifier dataRecordIdentifierAttribute(Map<String,String> attsMap, String attributeName) throws SAXException
SAXExceptionprotected ClassDef classAttribute(Map<String,String> attsMap, String attributeName) throws SAXException
SAXExceptionprotected ClassDef fieldDeclaringClassAttribute(ObjectModelForImport objectOwningField, String fieldName, Map<String,String> attsMap) throws SAXException
SAXExceptionprotected void assertNumberOfAttribute(int numberOfAttributes,
int expectedNumberOfAttributes)
throws SAXException
SAXExceptionprotected void assertNumberOfAttribute(int numberOfAttributes,
int expectedMinNumberOfAttributes,
int expectedMaxNumberOfAttributes)
throws SAXException
SAXExceptionprotected String location()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.