org.exolab.castor.xml.schema.reader
Class CharacterUnmarshaller
public class CharacterUnmarshaller
A utility class for Unmarshalling elements with only String content
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:37 $
void | characters(char[] ch, int start, int length)- The SAX characters method for recieving characters
|
void | clear()- Clears the current buffer
|
String | elementName()- Returns the name of the element that this ComponentReader
handles
|
void | elementName(String name)- Sets the name of the element that this CharacterUnmarshaller handles
|
Object | getObject()- Returns the Object created by this ComponentReader
|
String | getString()- Returns the set of characters recieved by this CharacterUnmarshaller
as a String
|
characters, elementName, endElement, error, finish, getDocumentLocator, getObject, getResolver, getURIResolver, illegalAttribute, illegalElement, isWhiteSpace, outOfOrder, redefinedElement, redefinedElement, setDocumentLocator, setResolver, setURIResolver, startElement, toInt |
CharacterUnmarshaller
public CharacterUnmarshaller()
Creates a new StringUnmarshaller
characters
public void characters(char[] ch,
int start,
int length)
throws XMLException The SAX characters method for recieving characters
- characters in interface ComponentReader
org.xml.sax.DocumentHandler
clear
public void clear()
Clears the current buffer
elementName
public String elementName()
Returns the name of the element that this ComponentReader
handles
- elementName in interface ComponentReader
- the name of the element that this ComponentReader
handles
elementName
public void elementName(String name)
Sets the name of the element that this CharacterUnmarshaller handles
name - the name of the element that this character unmarshaller handles
getObject
public Object getObject()
Returns the Object created by this ComponentReader
- getObject in interface ComponentReader
- the Object created by this ComponentReader
getString
public String getString()
Returns the set of characters recieved by this CharacterUnmarshaller
as a String
- the set of characters recieved by this CharacterUnmarshaller
as a String
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com