|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.impl.JMHandlerBase
A common base class for the AtomicHandler and the JMHandlerImpl.
| Nested Class Summary | |
protected class |
JMHandlerBase.DataImpl
|
| Nested classes inherited from class org.apache.ws.jaxme.JMHandler |
JMHandler.Data |
| Constructor Summary | |
JMHandlerBase()
|
|
| Method Summary | |
void |
endDocument()
|
void |
endPrefixMapping(java.lang.String pPrefix)
|
JMHandler.Data |
getData()
Returns the handlers Data. |
org.xml.sax.Locator |
getDocumentLocator()
Returns the Locator previously set by setDocumentLocator(),
if any. |
Observer |
getObserver()
Returns the Observer. |
void |
init(JMHandler.Data pData)
Initializes the handler by setting its Data. |
void |
init(JMUnmarshaller pUnmarshaller)
Initializes the handler by creating a new Data instance and calling init(Data). |
void |
processingInstruction(java.lang.String pTarget,
java.lang.String pData)
|
void |
setDocumentLocator(org.xml.sax.Locator pLocator)
|
void |
setObserver(Observer pObserver)
Sets the Observer. |
void |
skippedEntity(java.lang.String name)
|
void |
startPrefixMapping(java.lang.String pPrefix,
java.lang.String pURI)
|
protected void |
validationEvent(int pSeverity,
java.lang.String pMsg,
java.lang.String pErrorCode)
|
protected void |
validationEvent(int pSeverity,
java.lang.String pMsg,
java.lang.String pErrorCode,
java.lang.Exception pException)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.ws.jaxme.JMHandler |
getResult |
| Methods inherited from interface org.xml.sax.ContentHandler |
characters, endElement, ignorableWhitespace, startDocument, startElement |
| Constructor Detail |
public JMHandlerBase()
| Method Detail |
public void init(JMUnmarshaller pUnmarshaller)
throws JAXBException
JMHandlerInitializes the handler by creating a new Data instance
and calling init(Data).
init in interface JMHandlerJAXBException
public void init(JMHandler.Data pData)
throws JAXBException
JMHandlerInitializes the handler by setting its Data.
init in interface JMHandlerpData - An instance of JMHandler.Data providing access to the
handlers configuration..
JAXBExceptionpublic JMHandler.Data getData()
JMHandlerReturns the handlers Data.
getData in interface JMHandlerpublic void setDocumentLocator(org.xml.sax.Locator pLocator)
setDocumentLocator in interface org.xml.sax.ContentHandlerpublic org.xml.sax.Locator getDocumentLocator()
Returns the Locator previously set by setDocumentLocator(),
if any.
public void setObserver(Observer pObserver)
ObservableSets the Observer.
setObserver in interface Observablepublic Observer getObserver()
ObservableReturns the Observer.
getObserver in interface Observable
protected void validationEvent(int pSeverity,
java.lang.String pMsg,
java.lang.String pErrorCode)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void validationEvent(int pSeverity,
java.lang.String pMsg,
java.lang.String pErrorCode,
java.lang.Exception pException)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void processingInstruction(java.lang.String pTarget,
java.lang.String pData)
throws org.xml.sax.SAXException
processingInstruction in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void skippedEntity(java.lang.String name)
throws org.xml.sax.SAXException
skippedEntity in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void startPrefixMapping(java.lang.String pPrefix,
java.lang.String pURI)
throws org.xml.sax.SAXException
startPrefixMapping in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void endPrefixMapping(java.lang.String pPrefix)
throws org.xml.sax.SAXException
endPrefixMapping in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXExceptionpublic void endDocument()
endDocument in interface org.xml.sax.ContentHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||