|
|||||||||
| 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
com.sap.tc.mobile.cfs.meta.mi25io.InputContentHandler
public class InputContentHandler
Content handler for input tag on a field.
| Field Summary | |
|---|---|
static java.lang.String |
XML_INPUTELEMENT
XML tag for model class attribute element. |
static java.lang.String |
XML_TYPE
XML element for type |
static java.lang.String |
XML_TYPE_CREATE
XML constant for value of item type |
static java.lang.String |
XML_TYPE_MODIFY
XML constant for value of item type |
| Fields inherited from class com.sap.tc.mobile.cfs.meta.mi25io.BaseContentHandler |
|---|
name, storageType, SYNC_KEY_NAME, SYNC_KEY_TOP_NAME, XML_NAME |
| Fields inherited from class com.sap.tc.mobile.cfs.meta.mi25io.AbstractContentHandler |
|---|
model, parser |
| Constructor Summary | |
|---|---|
InputContentHandler()
|
|
| Method Summary | |
|---|---|
void |
attribute(char[] attributeName,
int startAttributeName,
int lengthAttributeName,
char[] attributeValue,
int startAttributeValue,
int lengthAttributeValue)
Called to handle single attribute. |
void |
characters(char[] ch,
int start,
int length)
Called to handle characters. |
void |
endElement(char[] localName,
int start,
int length)
Called to handle end of the element. |
protected void |
reset()
Reset the handler. |
| Methods inherited from class com.sap.tc.mobile.cfs.meta.mi25io.BaseContentHandler |
|---|
endAttributes |
| 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 |
|---|
endDocument, 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_INPUTELEMENT
public static final java.lang.String XML_TYPE
public static final java.lang.String XML_TYPE_MODIFY
public static final java.lang.String XML_TYPE_CREATE
| Constructor Detail |
|---|
public InputContentHandler()
| Method Detail |
|---|
public void endElement(char[] localName,
int start,
int length)
MIContentHandler
endElement in interface MIContentHandlerendElement in class AbstractMIContentHandlerlocalName - element name array.start - start offset of element name.length - length of element name.protected void reset()
AbstractContentHandler
reset in class BaseContentHandler
public void characters(char[] ch,
int start,
int length)
MIContentHandler
characters in interface MIContentHandlercharacters in class AbstractMIContentHandlerch - character array.start - start offset of first character.length - length of the data.
public void attribute(char[] attributeName,
int startAttributeName,
int lengthAttributeName,
char[] attributeValue,
int startAttributeValue,
int lengthAttributeValue)
MIContentHandler
attribute in interface MIContentHandlerattribute in class BaseContentHandlerattributeName - attribute name array.startAttributeName - offset of attribute name.lengthAttributeName - length of attribute name.attributeValue - value array.startAttributeValue - offset of value.lengthAttributeValue - length of value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||