demo for SASAX - 1.5

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

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

public synchronized class CompositeElement
extends AbstractElement


Constructor Summary
CompositeElement(Element, java.lang.String, java.lang.String)
           
CompositeElement(Element, java.lang.String, java.lang.String, boolean, boolean)
           
 
Method Summary
 boolean accepts(ParseContext, java.lang.String, java.lang.String)
           
 void addComponent(Element, boolean)
           
 void addComponent(java.lang.String, Element, boolean)
           
 void addMustItem(Element)
           
 void addMustItem(java.lang.String, Element)
           
 void addOptionalItem(Element)
           
 void addOptionalItem(java.lang.String, Element)
           
 Element characters(ParseContext, char[], int, int)
           
 Element endElement(ParseContext, java.lang.String, java.lang.String)
           
protected  void examine(ParseContext, org.xml.sax.Attributes)
           
 Element getComponent(java.lang.String)
           
 java.util.Iterator getComponents()
           
 java.lang.String getLName()
           
 java.lang.String getURI()
           
 Element ignorableWhitespace(ParseContext, char[], int, int)
           
 boolean isEmpty()
           
 boolean isNil(boolean)
           
 boolean isNillable()
           
 void setNillable(boolean)
           
 Element startElement(ParseContext, java.lang.String, java.lang.String, org.xml.sax.Attributes)
           
 
Methods inherited from class jp.ne.dti.lares.foozy.sasax.AbstractElement
addCleanup, addNotification, clear, ensureDetermined, fireElementStarted, getAttribute, getParent, hasNotification, hasXSINil, isDetermined, notifyDetermined, notifyDetermined, processingInstruction, removeNotification, setDetermined, skippedEntity, unwatchAttribute, watchAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeElement

public CompositeElement(Element,
                        java.lang.String,
                        java.lang.String)

CompositeElement

public CompositeElement(Element,
                        java.lang.String,
                        java.lang.String,
                        boolean,
                        boolean)
Method Detail

getURI

public final java.lang.String getURI()

getLName

public final java.lang.String getLName()

addComponent

public final void addComponent(Element,
                               boolean)

addComponent

public final void addComponent(java.lang.String,
                               Element,
                               boolean)

addMustItem

public final void addMustItem(Element)

addMustItem

public final void addMustItem(java.lang.String,
                              Element)

addOptionalItem

public final void addOptionalItem(Element)

addOptionalItem

public final void addOptionalItem(java.lang.String,
                                  Element)

isEmpty

public final boolean isEmpty()

getComponent

public final Element getComponent(java.lang.String)

getComponents

public final java.util.Iterator getComponents()

setNillable

public final void setNillable(boolean)

isNillable

public final boolean isNillable()

isNil

public final boolean isNil(boolean)

examine

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

accepts

public boolean accepts(ParseContext,
                       java.lang.String,
                       java.lang.String)
Overrides:
accepts in class AbstractElement

startElement

public Element startElement(ParseContext,
                            java.lang.String,
                            java.lang.String,
                            org.xml.sax.Attributes)
                     throws org.xml.sax.SAXException
Overrides:
startElement in class AbstractElement

endElement

public Element endElement(ParseContext,
                          java.lang.String,
                          java.lang.String)
                   throws org.xml.sax.SAXException
Overrides:
endElement in class AbstractElement

characters

public Element characters(ParseContext,
                          char[],
                          int,
                          int)
                   throws org.xml.sax.SAXException
Overrides:
characters in class AbstractElement

ignorableWhitespace

public Element ignorableWhitespace(ParseContext,
                                   char[],
                                   int,
                                   int)
                            throws org.xml.sax.SAXException
Overrides:
ignorableWhitespace in class AbstractElement

demo for SASAX - 1.5