public class CharacterUnmarshaller extends ComponentReader
Constructor | Description |
---|---|
CharacterUnmarshaller(SchemaContext schemaContext) |
Creates a new StringUnmarshaller.
|
Modifier and Type | Method | Description |
---|---|---|
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 ComponentReader
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 ComponentReader
|
java.lang.String |
getString() |
Returns the set of characters recieved by this CharacterUnmarshaller
as a String
|
endElement, error, error, finish, getDocumentLocator, getResolver, getSchemaContext, getURIResolver, illegalAttribute, illegalElement, isWhiteSpace, outOfOrder, redefinedElement, redefinedElement, setDocumentLocator, setResolver, setSchemaContext, setURIResolver, startElement, toInt
public CharacterUnmarshaller(SchemaContext schemaContext)
schemaContext
- the schema context to get some configuration settings frompublic java.lang.String elementName()
elementName
in class ComponentReader
public void elementName(java.lang.String name)
name
- the name of the element that this character unmarshaller handlespublic java.lang.Object getObject()
getObject
in class ComponentReader
public java.lang.String getString()
public void characters(char[] ch, int start, int length) throws XMLException
characters
in class ComponentReader
ch
- the character array containing the charactersstart
- the starting index into the character arraylength
- the number of characters to recieveXMLException
DocumentHandler
public void clear()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com