|
Hilbert II - Version 0.03.04 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qedeq.kernel.xml.mapper.Context2XPathOld
This class is outdated. Worked with XSD version 0.03.01. Can not find locations within formulas or terms.
Map content string to SimpleXPath string. This class makes it possible to transfer an location
of an Qedeq
object into an XPath like position description
for an XML file representation of that object.
This class has maps something like
getChapterList().get(4).getSectionList().get(0).getSubsectionList().get(4).getLatex().get(0)
into
QEDEQ/CHAPTER[5]/SECTION/SUBSECTIONS/*[5]/TEXT/LATEX
mime 20070109: use visitor and Qedeq-Object to get XPath; this is necessary because
an Atom (if it is the first in an ElementList) is always an attribute tag - therefore the
XML element counting doesn't work (you have to subtract one if the first element is an
Atom)
Method Summary | |
static String |
getFileName(ModuleContext context)
Deprecated. |
static String |
getXPath(ModuleContext context)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final String getFileName(ModuleContext context)
context
- Context information.
public static final String getXPath(ModuleContext context)
context
- Context information.
|
Hilbert II - Version 0.03.04 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |