fr.pixware.apt.convert
Class StructureSink
java.lang.Object
fr.pixware.apt.parse.SinkAdapter
fr.pixware.apt.convert.StructureSink
- All Implemented Interfaces:
- Structure, Sink
public class StructureSink
- extends SinkAdapter
- implements Structure
| Methods inherited from class fr.pixware.apt.parse.SinkAdapter |
anchor_, bold_, bold, definedTerm_, definedTerm, definition_, definition, definitionList_, definitionList, definitionListItem_, definitionListItem, figure_, figure, figureCaption_, figureCaption, figureGraphics, head_, horizontalRule, italic_, italic, link_, link, list_, list, listItem_, listItem, monospaced_, monospaced, numberedList_, numberedList, numberedListItem_, numberedListItem, pageBreak, paragraph_, paragraph, section5_, table_, table, tableCaption_, tableCaption, tableCell_, tableCell, tableRow_, tableRow, tableRows_, tableRows, verbatim_, verbatim |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructureSink
public StructureSink()
isExternalLink
public static boolean isExternalLink(java.lang.String text)
linkToKey
public static java.lang.String linkToKey(java.lang.String text)
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface Structure
getAuthor
public java.lang.String getAuthor()
- Specified by:
getAuthor in interface Structure
getDate
public java.lang.String getDate()
- Specified by:
getDate in interface Structure
hasPreSections
public boolean hasPreSections()
- Specified by:
hasPreSections in interface Structure
getSections
public Section[] getSections()
- Specified by:
getSections in interface Structure
getSection
public Section getSection(int[] number)
- Specified by:
getSection in interface Structure
getSection
public Section getSection(java.lang.String title)
- Specified by:
getSection in interface Structure
getAnchor
public Anchor getAnchor(java.lang.String text)
- Specified by:
getAnchor in interface Structure
getAnchors
public Anchor[] getAnchors()
- Specified by:
getAnchors in interface Structure
head
public void head()
throws ParseException
- Specified by:
head in interface Sink- Overrides:
head in class SinkAdapter
- Throws:
ParseException
title
public void title()
throws ParseException
- Specified by:
title in interface Sink- Overrides:
title in class SinkAdapter
- Throws:
ParseException
title_
public void title_()
throws ParseException
- Specified by:
title_ in interface Sink- Overrides:
title_ in class SinkAdapter
- Throws:
ParseException
author
public void author()
throws ParseException
- Specified by:
author in interface Sink- Overrides:
author in class SinkAdapter
- Throws:
ParseException
author_
public void author_()
throws ParseException
- Specified by:
author_ in interface Sink- Overrides:
author_ in class SinkAdapter
- Throws:
ParseException
date
public void date()
throws ParseException
- Specified by:
date in interface Sink- Overrides:
date in class SinkAdapter
- Throws:
ParseException
date_
public void date_()
throws ParseException
- Specified by:
date_ in interface Sink- Overrides:
date_ in class SinkAdapter
- Throws:
ParseException
body
public void body()
throws ParseException
- Specified by:
body in interface Sink- Overrides:
body in class SinkAdapter
- Throws:
ParseException
body_
public void body_()
throws ParseException
- Specified by:
body_ in interface Sink- Overrides:
body_ in class SinkAdapter
- Throws:
ParseException
section1
public void section1()
throws ParseException
- Specified by:
section1 in interface Sink- Overrides:
section1 in class SinkAdapter
- Throws:
ParseException
section1_
public void section1_()
throws ParseException
- Specified by:
section1_ in interface Sink- Overrides:
section1_ in class SinkAdapter
- Throws:
ParseException
section2
public void section2()
throws ParseException
- Specified by:
section2 in interface Sink- Overrides:
section2 in class SinkAdapter
- Throws:
ParseException
section2_
public void section2_()
throws ParseException
- Specified by:
section2_ in interface Sink- Overrides:
section2_ in class SinkAdapter
- Throws:
ParseException
section3
public void section3()
throws ParseException
- Specified by:
section3 in interface Sink- Overrides:
section3 in class SinkAdapter
- Throws:
ParseException
section3_
public void section3_()
throws ParseException
- Specified by:
section3_ in interface Sink- Overrides:
section3_ in class SinkAdapter
- Throws:
ParseException
section4
public void section4()
throws ParseException
- Specified by:
section4 in interface Sink- Overrides:
section4 in class SinkAdapter
- Throws:
ParseException
section4_
public void section4_()
throws ParseException
- Specified by:
section4_ in interface Sink- Overrides:
section4_ in class SinkAdapter
- Throws:
ParseException
section5
public void section5()
throws ParseException
- Specified by:
section5 in interface Sink- Overrides:
section5 in class SinkAdapter
- Throws:
ParseException
sectionTitle
public void sectionTitle()
throws ParseException
- Specified by:
sectionTitle in interface Sink- Overrides:
sectionTitle in class SinkAdapter
- Throws:
ParseException
sectionTitle_
public void sectionTitle_()
throws ParseException
- Specified by:
sectionTitle_ in interface Sink- Overrides:
sectionTitle_ in class SinkAdapter
- Throws:
ParseException
anchor
public void anchor(java.lang.String name)
throws ParseException
- Specified by:
anchor in interface Sink- Overrides:
anchor in class SinkAdapter
- Throws:
ParseException
lineBreak
public void lineBreak()
throws ParseException
- Specified by:
lineBreak in interface Sink- Overrides:
lineBreak in class SinkAdapter
- Throws:
ParseException
nonBreakingSpace
public void nonBreakingSpace()
throws ParseException
- Specified by:
nonBreakingSpace in interface Sink- Overrides:
nonBreakingSpace in class SinkAdapter
- Throws:
ParseException
text
public void text(java.lang.String text)
throws ParseException
- Specified by:
text in interface Sink- Overrides:
text in class SinkAdapter
- Throws:
ParseException