|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--org.sapia.util.xml.confix.ConfixHandlerState
Implements a HandlerStateIF that is used by the SAXProcessor.
| Constructor Summary | |
|---|---|
ConfixHandlerState(SAXProcessor aProcessor)
Creates a new ConfixHandlerState instance |
|
ConfixHandlerState(SAXProcessor aProcessor,
Object aParentObject)
Creates a new ConfixHandlerState instance |
|
| Method Summary | |
|---|---|
void |
characters(org.sapia.util.xml.parser.HandlerContextIF aContext,
char[] someChars,
int anOffset,
int length)
Receives the notification of character data inside an element. |
void |
endElement(org.sapia.util.xml.parser.HandlerContextIF aContext,
String anUri,
String aLocalName,
String aQualifiedName)
Receives the notification of the the end of an element. |
Object |
getResult()
Returns the result object of this handler state. |
void |
ignorableWhitespace(org.sapia.util.xml.parser.HandlerContextIF aContext,
char[] someChars,
int anOffset,
int aLength)
Receives the notification of ignorable whitespace in element content. |
void |
startElement(org.sapia.util.xml.parser.HandlerContextIF aContext,
String anUri,
String aLocalName,
String aQualifiedName,
org.xml.sax.Attributes someAttributes)
Receives the notification of the the start of an element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfixHandlerState(SAXProcessor aProcessor,
Object aParentObject)
public ConfixHandlerState(SAXProcessor aProcessor)
| Method Detail |
public Object getResult()
IllegalStateException - If this handler state is currently parsing.
public void startElement(org.sapia.util.xml.parser.HandlerContextIF aContext,
String anUri,
String aLocalName,
String aQualifiedName,
org.xml.sax.Attributes someAttributes)
throws org.xml.sax.SAXException
startElement in interface org.sapia.util.xml.parser.HandlerStateIFaContext - The handler context.anUri - The namespace URI associated with the elementaLocalName - The element type local name.aQualifiedName - The element type qualified name.someAttributes - The specified or defaulted attributes.
org.xml.sax.SAXException - If an exception occurs.
public void endElement(org.sapia.util.xml.parser.HandlerContextIF aContext,
String anUri,
String aLocalName,
String aQualifiedName)
throws org.xml.sax.SAXException
endElement in interface org.sapia.util.xml.parser.HandlerStateIFaContext - The handler context.anUri - The namespace URI associated with the elementaLocalName - The element type local name.aQualifiedName - The element type qualified name.
org.xml.sax.SAXException - If an exception occurs.
public void characters(org.sapia.util.xml.parser.HandlerContextIF aContext,
char[] someChars,
int anOffset,
int length)
throws org.xml.sax.SAXException
characters in interface org.sapia.util.xml.parser.HandlerStateIFaContext - The handler context.someChars - The characters.anOffset - The start position in the character array.
org.xml.sax.SAXException - If an exception occurs.
public void ignorableWhitespace(org.sapia.util.xml.parser.HandlerContextIF aContext,
char[] someChars,
int anOffset,
int aLength)
throws org.xml.sax.SAXException
ignorableWhitespace in interface org.sapia.util.xml.parser.HandlerStateIFaContext - The handler context.someChars - The whitespace characters.anOffset - The start position in the character array.aLength - The number of characters to use from the character array.
org.xml.sax.SAXException - If an exception occurs.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||