Package org.teleal.lemma.anchor

Provides abstraction of citation anchors in XHTML documents.

See:
          Description

Class Summary
AnchorAddress Encapsulates parsing of citation anchor URIs.
CitationAnchor Adapter which extends the regular DOM anchor, provides access to common options.
 

Enum Summary
CitationAnchor.OptionKey The most common option (keys) of citation anchors.
Scheme Schemes supported in citation anchor URIs.
 

Package org.teleal.lemma.anchor Description

Provides abstraction of citation anchors in XHTML documents.

The CitationAnchor class represents a single anchor in an XHTML document, it's an adapter that ties into the org.teleal.common.xhtml.XHTML document object model. The most common options of citation anchors are listed in the CitationAnchor.OptionKey enumeration.

The AnchorAddress class encapsulates parsing and handling of the href attribute value of a citation anchor. It is in fact similar to the Java URI and URL classes, however, because these are rather dumb abstractions, they can't handle URI's that do not use slashes to separate the authority from the path. Hence, this had to be written from scratch.



Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.