|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.Trait.InternalLink
public static class Trait.InternalLink
Class for internal link traits. Stores PageViewport key and producer ID
Constructor Summary | |
---|---|
Trait.InternalLink(java.lang.String attrValue)
Create an InternalLink based on the given XML attribute value. |
|
Trait.InternalLink(java.lang.String pvKey,
java.lang.String idRef)
Create an InternalLink to the given PageViewport and target ID |
Method Summary | |
---|---|
java.lang.String |
getIDRef()
Returns the target ID. |
java.lang.String |
getPVKey()
Returns the key of the targeted PageViewport. |
static java.lang.String |
makeXMLAttribute(java.lang.String pvKey,
java.lang.String idRef)
Returns the XML attribute value for the given PV key and ID ref. |
static java.lang.String[] |
parseXMLAttribute(java.lang.String attrValue)
Parses XML attribute value from the area tree into PageViewport key + IDRef strings. |
void |
setIDRef(java.lang.String idRef)
Sets the target ID. |
void |
setPVKey(java.lang.String pvKey)
Sets the key of the targeted PageViewport. |
java.lang.String |
toString()
Return the human-friendly string for debugging. |
java.lang.String |
xmlAttribute()
Returns the attribute value for this object as used in the area tree XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Trait.InternalLink(java.lang.String pvKey, java.lang.String idRef)
pvKey
- the PageViewport keyidRef
- the target IDpublic Trait.InternalLink(java.lang.String attrValue)
attrValue
- attribute value to be parsed by InternalLink.parseXMLAttributeMethod Detail |
---|
public void setPVKey(java.lang.String pvKey)
pvKey
- the PageViewport keypublic java.lang.String getPVKey()
public void setIDRef(java.lang.String idRef)
idRef
- the target IDpublic java.lang.String getIDRef()
public java.lang.String xmlAttribute()
public static java.lang.String makeXMLAttribute(java.lang.String pvKey, java.lang.String idRef)
pvKey
- the PageViewport key of the link targetidRef
- the ID of the link target
public static java.lang.String[] parseXMLAttribute(java.lang.String attrValue)
attrValue
- the atribute value (PV key and possibly IDRef)
public java.lang.String toString()
toString
in class java.lang.Object
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |