Class DocSectionHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.cakelab.jdoxml.impl.basehandler.BaseHandler<DocSectionHandler>
-
- org.cakelab.jdoxml.impl.dochandler.DocSectionHandler
-
- All Implemented Interfaces:
IDoc
,IDocSection
,IBaseHandler
,org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
public class DocSectionHandler extends BaseHandler<DocSectionHandler> implements IDocSection
Node representing a section.
-
-
Field Summary
-
Fields inherited from class org.cakelab.jdoxml.impl.basehandler.BaseHandler
elementMapper, m_curString, m_delegateHandler, m_fallBackHandler, m_skipCount, m_skipUntil, s_theLocator
-
-
Constructor Summary
Constructors Constructor Description DocSectionHandler(IBaseHandler parent, int level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endDocSection()
java.lang.String
id()
IDocInternal
internal()
IDoc.Kind
kind()
int
level()
java.util.ListIterator<IDocPara>
paragraphs()
void
startDocSection(org.xml.sax.Attributes attrib)
void
startInternal(org.xml.sax.Attributes attrib)
void
startParagraph(org.xml.sax.Attributes attrib)
void
startSubSection(org.xml.sax.Attributes attrib)
void
startTitle(org.xml.sax.Attributes attrib)
java.util.ListIterator<IDocSection>
subSections()
IDocTitle
title()
-
Methods inherited from class org.cakelab.jdoxml.impl.basehandler.BaseHandler
addEndHandler, addEndHandler, addStartHandler, addStartHandler, characters, delegate, endElement, fallBackHandler, setDelegate, setDocumentLocator, setFallBackHandler, skippedEntity, startDocument, startElement
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Constructor Detail
-
DocSectionHandler
public DocSectionHandler(IBaseHandler parent, int level)
-
-
Method Detail
-
startDocSection
public void startDocSection(org.xml.sax.Attributes attrib)
-
endDocSection
public void endDocSection()
-
startSubSection
public void startSubSection(org.xml.sax.Attributes attrib)
-
startParagraph
public void startParagraph(org.xml.sax.Attributes attrib)
-
startInternal
public void startInternal(org.xml.sax.Attributes attrib)
-
startTitle
public void startTitle(org.xml.sax.Attributes attrib)
-
paragraphs
public java.util.ListIterator<IDocPara> paragraphs()
- Specified by:
paragraphs
in interfaceIDocSection
-
subSections
public java.util.ListIterator<IDocSection> subSections()
- Specified by:
subSections
in interfaceIDocSection
-
internal
public IDocInternal internal()
- Specified by:
internal
in interfaceIDocSection
-
id
public java.lang.String id()
- Specified by:
id
in interfaceIDocSection
-
level
public int level()
- Specified by:
level
in interfaceIDocSection
-
title
public IDocTitle title()
- Specified by:
title
in interfaceIDocSection
-
-