com.sun.xml.bind.unmarshaller
Class ContentHandlerEx

java.lang.Object
  extended by com.sun.xml.bind.unmarshaller.ContentHandlerEx
All Implemented Interfaces:
UnmarshallingEventHandler
Direct Known Subclasses:
ContentHandlerExAdaptor

Deprecated. in JAXB1.0.1

public abstract class ContentHandlerEx
extends java.lang.Object
implements UnmarshallingEventHandler

Convenient default implementation of UnmarshallingEventHandler to minimize code generation.

For historical reasons, sometimes this type is used where UnmarshallingEventHandler should be used. Once an exception is in the form of UnmarshalException, we consider it to be already reported to the client app.

Since:
JAXB1.0

Field Summary
 UnmarshallingContext context
          Deprecated.  
 int state
          Deprecated. Current state of this automaton.
 
Constructor Summary
ContentHandlerEx(UnmarshallingContext _ctxt, java.lang.String _stateTextTypes)
          Deprecated.  
 
Method Summary
protected  void dump()
          Deprecated.  
 void enterAttribute(java.lang.String uri, java.lang.String local)
          Deprecated.  
 void enterElement(java.lang.String uri, java.lang.String local, org.xml.sax.Attributes atts)
          Deprecated.  
protected  void handleParseConversionException(java.lang.Exception e)
          Deprecated. This method is called by the generated derived class when a datatype parse method throws an exception.
protected  void handleUnexpectedTextException(java.lang.String text, java.lang.RuntimeException e)
          Deprecated. Called when a RuntimeException is thrown during unmarshalling a text.
protected  boolean isListState()
          Deprecated. Checks if the current state is marked as a list state.
 void leaveAttribute(java.lang.String uri, java.lang.String local)
          Deprecated.  
 void leaveChild(int nextState)
          Deprecated.  
 void leaveElement(java.lang.String uri, java.lang.String local)
          Deprecated.  
protected abstract  UnmarshallableObject owner()
          Deprecated. Returns the content-tree object for which this ContentHandlerEx is working for.
protected  void revertToParentFromEnterAttribute(java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void revertToParentFromEnterElement(java.lang.String uri, java.lang.String local, org.xml.sax.Attributes atts)
          Deprecated.  
protected  void revertToParentFromLeaveAttribute(java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void revertToParentFromLeaveElement(java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void revertToParentFromText(java.lang.String value)
          Deprecated.  
protected  java.lang.Object spawnChildFromEnterAttribute(java.lang.Class clazz, int memento, java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  java.lang.Object spawnChildFromEnterElement(java.lang.Class clazz, int memento, java.lang.String uri, java.lang.String local, org.xml.sax.Attributes atts)
          Deprecated.  
protected  java.lang.Object spawnChildFromLeaveAttribute(java.lang.Class clazz, int memento, java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  java.lang.Object spawnChildFromLeaveElement(java.lang.Class clazz, int memento, java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  java.lang.Object spawnChildFromText(java.lang.Class clazz, int memento, java.lang.String value)
          Deprecated.  
protected  void spawnSuperClassFromEnterAttribute(ContentHandlerEx unm, int memento, java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void spawnSuperClassFromEnterElement(ContentHandlerEx unm, int memento, java.lang.String uri, java.lang.String local, org.xml.sax.Attributes atts)
          Deprecated.  
protected  void spawnSuperClassFromFromText(ContentHandlerEx unm, int memento, java.lang.String value)
          Deprecated.  
protected  void spawnSuperClassFromLeaveAttribute(ContentHandlerEx unm, int memento, java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void spawnSuperClassFromLeaveElement(ContentHandlerEx unm, int memento, java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void spawnSuperClassFromText(ContentHandlerEx unm, int memento, java.lang.String text)
          Deprecated.  
protected  javax.xml.bind.Element spawnWildcard(int memento, java.lang.String uri, java.lang.String local, org.xml.sax.Attributes atts)
          Deprecated.  
 void text(java.lang.String s)
          Deprecated.  
protected  void unexpectedEnterAttribute(java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void unexpectedEnterElement(java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void unexpectedLeaveAttribute(java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void unexpectedLeaveChild()
          Deprecated.  
protected  void unexpectedLeaveElement(java.lang.String uri, java.lang.String local)
          Deprecated.  
protected  void unexpectedText(java.lang.String str)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

public final UnmarshallingContext context
Deprecated. 

state

public int state
Deprecated. 
Current state of this automaton.

Constructor Detail

ContentHandlerEx

public ContentHandlerEx(UnmarshallingContext _ctxt,
                        java.lang.String _stateTextTypes)
Deprecated. 
Method Detail

owner

protected abstract UnmarshallableObject owner()
Deprecated. 
Returns the content-tree object for which this ContentHandlerEx is working for.


enterElement

public void enterElement(java.lang.String uri,
                         java.lang.String local,
                         org.xml.sax.Attributes atts)
                  throws UnreportedException
Deprecated. 
Specified by:
enterElement in interface UnmarshallingEventHandler
Throws:
UnreportedException

leaveElement

public void leaveElement(java.lang.String uri,
                         java.lang.String local)
                  throws UnreportedException
Deprecated. 
Specified by:
leaveElement in interface UnmarshallingEventHandler
Throws:
UnreportedException

text

public void text(java.lang.String s)
          throws UnreportedException
Deprecated. 
Specified by:
text in interface UnmarshallingEventHandler
Throws:
UnreportedException

enterAttribute

public void enterAttribute(java.lang.String uri,
                           java.lang.String local)
                    throws UnreportedException
Deprecated. 
Specified by:
enterAttribute in interface UnmarshallingEventHandler
Throws:
UnreportedException

leaveAttribute

public void leaveAttribute(java.lang.String uri,
                           java.lang.String local)
                    throws UnreportedException
Deprecated. 
Specified by:
leaveAttribute in interface UnmarshallingEventHandler
Throws:
UnreportedException

leaveChild

public void leaveChild(int nextState)
                throws UnreportedException
Deprecated. 
Specified by:
leaveChild in interface UnmarshallingEventHandler
Throws:
UnreportedException

isListState

protected final boolean isListState()
Deprecated. 
Checks if the current state is marked as a list state.


handleUnexpectedTextException

protected void handleUnexpectedTextException(java.lang.String text,
                                             java.lang.RuntimeException e)
                                      throws UnreportedException
Deprecated. 
Called when a RuntimeException is thrown during unmarshalling a text.

Throws:
UnreportedException

dump

protected final void dump()
Deprecated. 

unexpectedEnterElement

protected final void unexpectedEnterElement(java.lang.String uri,
                                            java.lang.String local)
                                     throws UnreportedException
Deprecated. 
Throws:
UnreportedException

unexpectedLeaveElement

protected final void unexpectedLeaveElement(java.lang.String uri,
                                            java.lang.String local)
                                     throws UnreportedException
Deprecated. 
Throws:
UnreportedException

unexpectedEnterAttribute

protected final void unexpectedEnterAttribute(java.lang.String uri,
                                              java.lang.String local)
                                       throws UnreportedException
Deprecated. 
Throws:
UnreportedException

unexpectedLeaveAttribute

protected final void unexpectedLeaveAttribute(java.lang.String uri,
                                              java.lang.String local)
                                       throws UnreportedException
Deprecated. 
Throws:
UnreportedException

unexpectedText

protected final void unexpectedText(java.lang.String str)
                             throws UnreportedException
Deprecated. 
Throws:
UnreportedException

unexpectedLeaveChild

protected final void unexpectedLeaveChild()
                                   throws UnreportedException
Deprecated. 
Throws:
UnreportedException

handleParseConversionException

protected void handleParseConversionException(java.lang.Exception e)
Deprecated. 
This method is called by the generated derived class when a datatype parse method throws an exception.


spawnChildFromEnterElement

protected final java.lang.Object spawnChildFromEnterElement(java.lang.Class clazz,
                                                            int memento,
                                                            java.lang.String uri,
                                                            java.lang.String local,
                                                            org.xml.sax.Attributes atts)
                                                     throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnChildFromEnterAttribute

protected final java.lang.Object spawnChildFromEnterAttribute(java.lang.Class clazz,
                                                              int memento,
                                                              java.lang.String uri,
                                                              java.lang.String local)
                                                       throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnChildFromText

protected final java.lang.Object spawnChildFromText(java.lang.Class clazz,
                                                    int memento,
                                                    java.lang.String value)
                                             throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnChildFromLeaveElement

protected final java.lang.Object spawnChildFromLeaveElement(java.lang.Class clazz,
                                                            int memento,
                                                            java.lang.String uri,
                                                            java.lang.String local)
                                                     throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnChildFromLeaveAttribute

protected final java.lang.Object spawnChildFromLeaveAttribute(java.lang.Class clazz,
                                                              int memento,
                                                              java.lang.String uri,
                                                              java.lang.String local)
                                                       throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnWildcard

protected final javax.xml.bind.Element spawnWildcard(int memento,
                                                     java.lang.String uri,
                                                     java.lang.String local,
                                                     org.xml.sax.Attributes atts)
                                              throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnSuperClassFromEnterElement

protected final void spawnSuperClassFromEnterElement(ContentHandlerEx unm,
                                                     int memento,
                                                     java.lang.String uri,
                                                     java.lang.String local,
                                                     org.xml.sax.Attributes atts)
                                              throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnSuperClassFromEnterAttribute

protected final void spawnSuperClassFromEnterAttribute(ContentHandlerEx unm,
                                                       int memento,
                                                       java.lang.String uri,
                                                       java.lang.String local)
                                                throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnSuperClassFromFromText

protected final void spawnSuperClassFromFromText(ContentHandlerEx unm,
                                                 int memento,
                                                 java.lang.String value)
                                          throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnSuperClassFromLeaveElement

protected final void spawnSuperClassFromLeaveElement(ContentHandlerEx unm,
                                                     int memento,
                                                     java.lang.String uri,
                                                     java.lang.String local)
                                              throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnSuperClassFromLeaveAttribute

protected final void spawnSuperClassFromLeaveAttribute(ContentHandlerEx unm,
                                                       int memento,
                                                       java.lang.String uri,
                                                       java.lang.String local)
                                                throws UnreportedException
Deprecated. 
Throws:
UnreportedException

spawnSuperClassFromText

protected final void spawnSuperClassFromText(ContentHandlerEx unm,
                                             int memento,
                                             java.lang.String text)
                                      throws UnreportedException
Deprecated. 
Throws:
UnreportedException

revertToParentFromEnterElement

protected final void revertToParentFromEnterElement(java.lang.String uri,
                                                    java.lang.String local,
                                                    org.xml.sax.Attributes atts)
                                             throws UnreportedException
Deprecated. 
Throws:
UnreportedException

revertToParentFromLeaveElement

protected final void revertToParentFromLeaveElement(java.lang.String uri,
                                                    java.lang.String local)
                                             throws UnreportedException
Deprecated. 
Throws:
UnreportedException

revertToParentFromEnterAttribute

protected final void revertToParentFromEnterAttribute(java.lang.String uri,
                                                      java.lang.String local)
                                               throws UnreportedException
Deprecated. 
Throws:
UnreportedException

revertToParentFromLeaveAttribute

protected final void revertToParentFromLeaveAttribute(java.lang.String uri,
                                                      java.lang.String local)
                                               throws UnreportedException
Deprecated. 
Throws:
UnreportedException

revertToParentFromText

protected final void revertToParentFromText(java.lang.String value)
                                     throws UnreportedException
Deprecated. 
Throws:
UnreportedException