| java.lang.Object org.ozoneDB.core.xml.XML2ObjectContentHandler org.ozoneDB.core.xml.HashtableContentHandler
HashtableContentHandler | public class HashtableContentHandler extends XML2ObjectContentHandler (Code) | | This class handles a special part of the XML and transform it into an Hashtable.
version: $Revision: 1.1 $ author: SMB |
Method Summary | |
public Stack | getStack() This method returns the stack. | protected void | memberEndElement() This methode handles the memberEndElement. | protected void | memberStartElement(Attributes atts) The method memberStartElement set the mode on KEYMODE, VALUEMODE or NEXTMODE
if the member has the attribute name with the value "key", "value" or "next". | protected void | valueArrayEndElement() The method valueArrayEndElement refers to handleValueArrayEndElement
if mode is on KEYMODE or VALUEMODE. | protected void | valueArrayStartElement(Attributes atts) The method valueArrayStartElement refers to handleValueArrayStartElement
if mode is on KEYMODE or VALUEMODE. | protected void | valueEndElement() The method valueEndElement refers to handleValueEndElement
if mode is on KEYMODE or VALUEMODE. | protected void | valueObjEndElement() The method valueObjEndElement refers to handleValueObjEndElement
if mode is on KEYMODE or VALUEMODE. | protected void | valueObjStartElement(Attributes atts) The method valueObjStartElement refers to handleValueObjStartElement
if mode is on KEYMODE or VALUEMODE. | protected void | valueStartElement(Attributes atts) The method valueStartElement refers to handleValueStartElement
if mode is on KEYMODE or VALUEMODE. | public void | values(char[] ch, int start, int end) The method values refers to handleValues if mode is on KEYMODE or VALUEMODE. |
KEYMODE | final static int KEYMODE(Code) | | |
NEXTMODE | final static int NEXTMODE(Code) | | |
NOMODE | final static int NOMODE(Code) | | |
VALUEMODE | final static int VALUEMODE(Code) | | |
HashtableContentHandler | public HashtableContentHandler()(Code) | | |
HashtableContentHandler | public HashtableContentHandler(Locator locator, Hashtable hash)(Code) | | Parameters: locator - Parameters: hash - |
getStack | public Stack getStack()(Code) | | This method returns the stack.
Stack |
memberEndElement | protected void memberEndElement()(Code) | | This methode handles the memberEndElement.
|
memberStartElement | protected void memberStartElement(Attributes atts)(Code) | | The method memberStartElement set the mode on KEYMODE, VALUEMODE or NEXTMODE
if the member has the attribute name with the value "key", "value" or "next".
And only if mode is on KEYMODE or VALUEMODE it refers to handleMemberStartElement.
Parameters: atts - (the attributes) |
valueArrayEndElement | protected void valueArrayEndElement()(Code) | | The method valueArrayEndElement refers to handleValueArrayEndElement
if mode is on KEYMODE or VALUEMODE.
|
valueArrayStartElement | protected void valueArrayStartElement(Attributes atts)(Code) | | The method valueArrayStartElement refers to handleValueArrayStartElement
if mode is on KEYMODE or VALUEMODE.
Parameters: atts - (the attributes) |
valueEndElement | protected void valueEndElement()(Code) | | The method valueEndElement refers to handleValueEndElement
if mode is on KEYMODE or VALUEMODE.
|
valueObjEndElement | protected void valueObjEndElement()(Code) | | The method valueObjEndElement refers to handleValueObjEndElement
if mode is on KEYMODE or VALUEMODE.
|
valueObjStartElement | protected void valueObjStartElement(Attributes atts)(Code) | | The method valueObjStartElement refers to handleValueObjStartElement
if mode is on KEYMODE or VALUEMODE.
Parameters: atts - (the attributes) |
valueStartElement | protected void valueStartElement(Attributes atts)(Code) | | The method valueStartElement refers to handleValueStartElement
if mode is on KEYMODE or VALUEMODE.
Parameters: atts - (the attributes) |
values | public void values(char[] ch, int start, int end)(Code) | | The method values refers to handleValues if mode is on KEYMODE or VALUEMODE.
Parameters: ch - (char-array) Parameters: start - (start of the array) Parameters: end - (end of the array) |
Methods inherited from org.ozoneDB.core.xml.XML2ObjectContentHandler | protected Object castValue(String type, String valueStr)(Code)(Java Doc) public void characters(char[] ch, int start, int end)(Code)(Java Doc) public void endDocument()(Code)(Java Doc) public void endElement(String namespaceURI, String localName, String rawName)(Code)(Java Doc) public void endPrefixMapping(String prefix)(Code)(Java Doc) protected void handleMemberEndElement()(Code)(Java Doc) protected void handleMemberStartElement(Attributes atts)(Code)(Java Doc) protected void handleObjEndElement()(Code)(Java Doc) protected void handleObjStartElement(Attributes atts)(Code)(Java Doc) protected void handleOzoneProxyMember(Attributes atts)(Code)(Java Doc) protected void handleSuperclassEndElement()(Code)(Java Doc) protected void handleSuperclassStartElement(Attributes atts)(Code)(Java Doc) protected void handleValueArrayEndElement()(Code)(Java Doc) protected void handleValueArrayStartElement(Attributes atts)(Code)(Java Doc) protected void handleValueEndElement()(Code)(Java Doc) protected void handleValueObjEndElement()(Code)(Java Doc) protected void handleValueObjStartElement(Attributes atts)(Code)(Java Doc) protected void handleValueStartElement(Attributes atts)(Code)(Java Doc) public void handleValues(char[] ch, int start, int end)(Code)(Java Doc) public void ignorableWhitespace(char[] ch, int start, int end)(Code)(Java Doc) protected void memberEndElement()(Code)(Java Doc) protected void memberStartElement(Attributes atts)(Code)(Java Doc) protected void objEndElement()(Code)(Java Doc) protected void objStartElement(Attributes atts)(Code)(Java Doc) public void processingInstruction(String target, String data)(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) protected void showStack(Stack s)(Code)(Java Doc) public void skippedEntity(String name)(Code)(Java Doc) public void startDocument()(Code)(Java Doc) public void startElement(String namespaceURI, String localName, String rawName, Attributes atts)(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri)(Code)(Java Doc) protected void superclassEndElement()(Code)(Java Doc) protected void superclassStartElement(Attributes atts)(Code)(Java Doc) protected void valueArrayEndElement()(Code)(Java Doc) protected void valueArrayStartElement(Attributes atts)(Code)(Java Doc) protected void valueEndElement()(Code)(Java Doc) protected void valueObjEndElement()(Code)(Java Doc) protected void valueObjStartElement(Attributes atts)(Code)(Java Doc) protected void valueStartElement(Attributes atts)(Code)(Java Doc) protected void values(char[] ch, int start, int end)(Code)(Java Doc)
|
|
|