|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teleal.common.xml.DOMElement<org.teleal.common.xhtml.XHTMLElement,org.teleal.common.xhtml.XHTMLElement>
org.teleal.common.xhtml.XHTMLElement
org.teleal.common.xhtml.Anchor
org.teleal.lemma.anchor.CitationAnchor
public class CitationAnchor
Adapter which extends the regular DOM anchor, provides access to common options.
| Nested Class Summary | |
|---|---|
static class |
CitationAnchor.OptionKey
The most common option (keys) of citation anchors. |
| Nested classes/interfaces inherited from class org.teleal.common.xml.DOMElement |
|---|
org.teleal.common.xml.DOMElement.ArrayBuilder<T extends org.teleal.common.xml.DOMElement>, org.teleal.common.xml.DOMElement.Builder<T extends org.teleal.common.xml.DOMElement> |
| Field Summary |
|---|
| Fields inherited from class org.teleal.common.xhtml.XHTMLElement |
|---|
XPATH_PREFIX |
| Fields inherited from class org.teleal.common.xml.DOMElement |
|---|
CHILD_BUILDER, PARENT_BUILDER |
| Constructor Summary | |
|---|---|
CitationAnchor(XPath xpath,
org.teleal.common.xhtml.Anchor anchor)
|
|
CitationAnchor(XPath xpath,
Element element)
|
|
| Method Summary | |
|---|---|
AnchorAddress |
getAddress()
|
org.teleal.common.xhtml.Option |
getOption(CitationAnchor.OptionKey key)
|
String |
getOutputClasses()
|
String |
getOutputIdentifier()
|
| Methods inherited from class org.teleal.common.xhtml.Anchor |
|---|
getHref, getType, toString |
| Methods inherited from class org.teleal.common.xhtml.XHTMLElement |
|---|
createChild, createChildBuilder, createParentBuilder, findAllAnchors, findAllAnchors, findChildren, findChildrenWithClass, getAttribute, getChildren, getClasses, getConstant, getFirstChild, getId, getOption, getOptions, getTitle, prefix, setAttribute, setAttribute, setContent |
| Methods inherited from class org.teleal.common.xml.DOMElement |
|---|
adoptOrImport, appendChild, createChild, createChild, findChildren, findChildWithIdentifier, getAttribute, getChildren, getChildren, getContent, getElementName, getFirstChild, getParent, getRequiredChild, getW3CElement, getXpath, getXPathChildElement, getXPathChildElements, getXPathElements, getXPathParentElement, getXPathParentElements, getXPathResult, getXPathResult, getXPathString, removeChild, removeChildren, replaceChild, replaceEqualChild, toSimpleXMLString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CitationAnchor(XPath xpath,
org.teleal.common.xhtml.Anchor anchor)
public CitationAnchor(XPath xpath,
Element element)
| Method Detail |
|---|
public AnchorAddress getAddress()
public org.teleal.common.xhtml.Option getOption(CitationAnchor.OptionKey key)
public String getOutputIdentifier()
id attribute of the anchor, or if not present the id of the given address.public String getOutputClasses()
class class attribute value (if present), in addition the name of the address scheme.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||