demo for SASAX - 1.5

jp.ne.dti.lares.foozy.sasax
Class AbstractElement

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.sasax.AbstractElement
All Implemented Interfaces:
Element
Direct Known Subclasses:
CompositeElement, PathDemo

public abstract synchronized class AbstractElement
extends java.lang.Object
implements Element


Constructor Summary
AbstractElement(Element)
           
 
Method Summary
abstract  boolean accepts(ParseContext, java.lang.String, java.lang.String)
           
 void addCleanup(java.lang.Runnable)
           
 void addNotification(Notification)
           
 Element characters(ParseContext, char[], int, int)
           
 void clear()
           
abstract  Element endElement(ParseContext, java.lang.String, java.lang.String)
           
protected  void ensureDetermined()
           
protected  void fireElementStarted(ParseContext, org.xml.sax.Attributes)
           
 java.lang.String getAttribute(java.lang.String, java.lang.String)
           
 Element getParent()
           
 boolean hasNotification(Notification)
           
static boolean hasXSINil(org.xml.sax.Attributes)
           
 Element ignorableWhitespace(ParseContext, char[], int, int)
           
 boolean isDetermined()
           
protected  void notifyDetermined()
           
protected  void notifyDetermined(ParseContext)
           
 Element processingInstruction(ParseContext, java.lang.String, java.lang.String)
           
 void removeNotification(Notification)
           
protected  void setDetermined(ParseContext)
           
 Element skippedEntity(ParseContext, java.lang.String)
           
abstract  Element startElement(ParseContext, java.lang.String, java.lang.String, org.xml.sax.Attributes)
           
 void unwatchAttribute(java.lang.String, java.lang.String)
           
 void watchAttribute(java.lang.String, java.lang.String)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractElement

public AbstractElement(Element)
Method Detail

addCleanup

public final void addCleanup(java.lang.Runnable)

addNotification

public final void addNotification(Notification)

removeNotification

public final void removeNotification(Notification)

hasNotification

public final boolean hasNotification(Notification)

watchAttribute

public final void watchAttribute(java.lang.String,
                                 java.lang.String)

unwatchAttribute

public final void unwatchAttribute(java.lang.String,
                                   java.lang.String)

getAttribute

public final java.lang.String getAttribute(java.lang.String,
                                           java.lang.String)

hasXSINil

public static boolean hasXSINil(org.xml.sax.Attributes)

setDetermined

protected final void setDetermined(ParseContext)
                            throws org.xml.sax.SAXException

ensureDetermined

protected final void ensureDetermined()

notifyDetermined

protected void notifyDetermined(ParseContext)
                         throws org.xml.sax.SAXException

notifyDetermined

protected void notifyDetermined()
                         throws org.xml.sax.SAXException

fireElementStarted

protected final void fireElementStarted(ParseContext,
                                        org.xml.sax.Attributes)
                                 throws org.xml.sax.SAXException

clear

public final void clear()
Specified by:
clear in interface Element

getParent

public final Element getParent()
Specified by:
getParent in interface Element

accepts

public abstract boolean accepts(ParseContext,
                                java.lang.String,
                                java.lang.String)
Specified by:
accepts in interface Element

startElement

public abstract Element startElement(ParseContext,
                                     java.lang.String,
                                     java.lang.String,
                                     org.xml.sax.Attributes)
                              throws org.xml.sax.SAXException
Specified by:
startElement in interface Element

endElement

public abstract Element endElement(ParseContext,
                                   java.lang.String,
                                   java.lang.String)
                            throws org.xml.sax.SAXException
Specified by:
endElement in interface Element

characters

public Element characters(ParseContext,
                          char[],
                          int,
                          int)
                   throws org.xml.sax.SAXException
Specified by:
characters in interface Element

ignorableWhitespace

public Element ignorableWhitespace(ParseContext,
                                   char[],
                                   int,
                                   int)
                            throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface Element

processingInstruction

public Element processingInstruction(ParseContext,
                                     java.lang.String,
                                     java.lang.String)
                              throws org.xml.sax.SAXException
Specified by:
processingInstruction in interface Element

skippedEntity

public Element skippedEntity(ParseContext,
                             java.lang.String)
                      throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface Element

isDetermined

public boolean isDetermined()
Specified by:
isDetermined in interface Element

demo for SASAX - 1.5