|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NOMPointer
Extends the nomread version with methods for editing pointers
Nested Class Summary | |
---|---|
static interface |
NOMPointer.SharedPoint
This inner interface provides a single utility function for shared NOM users - can be ignored if NOM is not shared amongst multiple applications that can write to the NOM. |
Method Summary | |
---|---|
java.lang.String |
getComment()
returns the contents of the reserved comment String (or null if not set) |
NOMElement |
getFromElement()
returns the element which is the source of the pointer |
java.lang.String |
getLink()
return a string representing an XLink to the pointed-to element |
java.lang.String |
getRole()
returns the role of the pointer |
NOMPointer.SharedPoint |
getShared()
return a shared view of this pointer which simply provides a single utility function for editing the pointer without thinking about locking and unlocking the corpus. |
NOMElement |
getToElement()
returns the element which is the destination of the pointer |
java.lang.String |
getToElementString()
returns the element which is the destination of the pointer as a string (the original href string from the loaded corpus) |
void |
setComment(java.lang.String comment)
set the contents of the reserved comment attribute |
void |
setRole(java.lang.String role)
set the role of this pointer |
void |
setToElement(NOMElement target)
set the element to which this pointer points |
Method Detail |
---|
java.lang.String getRole()
NOMElement getFromElement()
NOMElement getToElement()
java.lang.String getToElementString()
java.lang.String getComment()
java.lang.String getLink()
void setRole(java.lang.String role)
void setToElement(NOMElement target) throws NOMException
NOMException
NOMPointer.SharedPoint getShared()
void setComment(java.lang.String comment)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |