|
|||||||||
| Home >> All >> com >> eireneh >> bible >> [ book overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.bible.book
Class RefEle

java.lang.Objectcom.eireneh.bible.book.RefEle
- public class RefEle
- extends java.lang.Object
A VerseElement represents a Verse that exists inside a BibleEle.
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
- Version:
- D5.I5.T0
| Field Summary | |
private BibleEle |
doc
The document that we are a part of |
private boolean |
para
Is this verse the start of a new paragraph |
private org.w3c.dom.Element |
ref
The current verse |
private SectionEle |
section
The parent section |
private com.eireneh.bible.passage.Verse |
verse
The Verse that we model |
private java.lang.String |
xml
The formatted text |
| Constructor Summary | |
RefEle(SectionEle section,
com.eireneh.bible.passage.Verse verse,
boolean para)
Create a RefEle |
|
| Method Summary | |
org.w3c.dom.Document |
getDocument()
Accessor for the Element that we are wrapping |
org.w3c.dom.Element |
getElement()
Accessor for the Element that we are wrapping |
SectionEle |
getParent()
Accessor for our parent Element |
java.lang.String |
getPlainText()
A simplified plain text version of the data in this verse with all the markup stripped out. |
void |
getText(java.lang.StringBuffer buffer)
A simplified plain text version of the data in this verse with all the markup stripped out. |
com.eireneh.bible.passage.Verse |
getVerse()
Get the verse that this element contains |
java.lang.String |
getXMLText()
A simplified plain text version of the data in this verse with all the markup stripped out. |
private static void |
recurseNodes(org.w3c.dom.Node node,
java.lang.StringBuffer text,
int depth)
Recurse down a Doument node tree |
void |
setPlainText(java.lang.String text)
Add some plain text to the verse |
void |
setXMLText(java.lang.String xml)
Add XML markup to the verse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
doc
private BibleEle doc
- The document that we are a part of
verse
private com.eireneh.bible.passage.Verse verse
- The Verse that we model
para
private boolean para
- Is this verse the start of a new paragraph
ref
private org.w3c.dom.Element ref
- The current verse
section
private SectionEle section
- The parent section
xml
private java.lang.String xml
- The formatted text
| Constructor Detail |
RefEle
public RefEle(SectionEle section, com.eireneh.bible.passage.Verse verse, boolean para) throws BookException
- Create a RefEle
| Method Detail |
getParent
public SectionEle getParent()
- Accessor for our parent Element
getDocument
public org.w3c.dom.Document getDocument()
- Accessor for the Element that we are wrapping
getElement
public org.w3c.dom.Element getElement()
- Accessor for the Element that we are wrapping
getVerse
public com.eireneh.bible.passage.Verse getVerse()
- Get the verse that this element contains
setPlainText
public void setPlainText(java.lang.String text)
- Add some plain text to the verse
setXMLText
public void setXMLText(java.lang.String xml) throws org.xml.sax.SAXException
- Add XML markup to the verse
getPlainText
public java.lang.String getPlainText()
- A simplified plain text version of the data in this verse with all
the markup stripped out.
getXMLText
public java.lang.String getXMLText()
- A simplified plain text version of the data in this verse with all
the markup stripped out.
getText
public void getText(java.lang.StringBuffer buffer)
- A simplified plain text version of the data in this verse with all
the markup stripped out.
recurseNodes
private static void recurseNodes(org.w3c.dom.Node node, java.lang.StringBuffer text, int depth)
- Recurse down a Doument node tree
|
|||||||||
| Home >> All >> com >> eireneh >> bible >> [ book overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.eireneh.bible.book.RefEle