|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sap.tc.mobile.cfs.xml.api.AbstractMIContentHandler
com.sap.tc.mobile.cfs.meta.mi25io.AbstractContentHandler
com.sap.tc.mobile.cfs.meta.mi25io.BaseContentHandler
public class BaseContentHandler
BaseContentHandler is extending the AbstractContentHandler and implements base support for parsing metadata XML files. It's base class for all other content handler.
| Field Summary | |
|---|---|
protected java.lang.String |
name
Name attribute. |
protected StorageType |
storageType
Storage type attribute. |
static java.lang.String |
SYNC_KEY_NAME
Constant with name of the SYNC_KEY field |
static java.lang.String |
SYNC_KEY_TOP_NAME
Constant with name of the SYNC_KEY_TOP field |
static java.lang.String |
XML_NAME
XML attribute tag for class/attribute/type technical name. |
| Fields inherited from class com.sap.tc.mobile.cfs.meta.mi25io.AbstractContentHandler |
|---|
model, parser |
| Constructor Summary | |
|---|---|
BaseContentHandler()
|
|
| Method Summary | |
|---|---|
void |
attribute(char[] attributeName,
int startAttributeName,
int lengthAttributeName,
char[] attributeValue,
int startAttributeValue,
int lengthAttributeValue)
Called to handle single attribute. |
void |
endAttributes()
Called to handle end of attributes for the element. |
protected void |
reset()
Reset the handler. |
| Methods inherited from class com.sap.tc.mobile.cfs.meta.mi25io.AbstractContentHandler |
|---|
getModel, restoreHandler, setModel, setParser |
| Methods inherited from class com.sap.tc.mobile.cfs.xml.api.AbstractMIContentHandler |
|---|
characters, endDocument, endElement, startAttribute, startDocument, startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XML_NAME
protected StorageType storageType
protected java.lang.String name
public static final java.lang.String SYNC_KEY_NAME
public static final java.lang.String SYNC_KEY_TOP_NAME
| Constructor Detail |
|---|
public BaseContentHandler()
| Method Detail |
|---|
public void attribute(char[] attributeName,
int startAttributeName,
int lengthAttributeName,
char[] attributeValue,
int startAttributeValue,
int lengthAttributeValue)
MIContentHandler
attribute in interface MIContentHandlerattribute in class AbstractMIContentHandlerattributeName - attribute name array.startAttributeName - offset of attribute name.lengthAttributeName - length of attribute name.attributeValue - value array.startAttributeValue - offset of value.lengthAttributeValue - length of value.public void endAttributes()
MIContentHandler
endAttributes in interface MIContentHandlerendAttributes in class AbstractMIContentHandlerprotected void reset()
AbstractContentHandler
reset in class AbstractContentHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||