|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exolab.castor.xml.schema.reader.SaxUnmarshaller
org.exolab.castor.xml.schema.reader.CharacterUnmarshaller
A utility class for Unmarshalling elements with only String content
| Field Summary |
| Fields inherited from class org.exolab.castor.xml.schema.reader.SaxUnmarshaller |
_locator |
| Constructor Summary | |
CharacterUnmarshaller()
Creates a new StringUnmarshaller |
|
| Method Summary | |
void |
characters(char[] ch,
int start,
int length)
The SAX characters method for recieving characters |
void |
clear()
Clears the current buffer |
java.lang.String |
elementName()
Returns the name of the element that this SaxUnmarshaller handles |
void |
elementName(java.lang.String name)
Sets the name of the element that this CharacterUnmarshaller handles |
java.lang.Object |
getObject()
Returns the Object created by this SaxUnmarshaller |
java.lang.String |
getString()
Returns the set of characters recieved by this CharacterUnmarshaller as a String |
| Methods inherited from class org.exolab.castor.xml.schema.reader.SaxUnmarshaller |
endDocument, endElement, error, error, fatalError, finish, getDocumentLocator, getResolver, ignorableWhitespace, illegalAttribute, illegalElement, isWhiteSpace, outOfOrder, processingInstruction, redefinedElement, redefinedElement, setDocumentLocator, setResolver, startDocument, startElement, toInt, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CharacterUnmarshaller()
| Method Detail |
public java.lang.String elementName()
elementName in class SaxUnmarshallerpublic void elementName(java.lang.String name)
name - the name of the element that this character unmarshaller handlespublic java.lang.Object getObject()
getObject in class SaxUnmarshallerpublic java.lang.String getString()
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.DocumentHandlercharacters in class SaxUnmarshallerorg.xml.sax.SAXExceptionDocumentHandlerpublic void clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||