|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObjectTraversal
com.arsdigita.domain.DomainObjectTextRenderer
An implementation of DomainObjectTraversal that generates a single string containing all the data from the object's traversed properties.
Nested Class Summary |
Nested classes inherited from class com.arsdigita.domain.DomainObjectTraversal |
DomainObjectTraversal.AdapterKey |
Field Summary |
Fields inherited from class com.arsdigita.domain.DomainObjectTraversal |
LINK_NAME |
Constructor Summary | |
DomainObjectTextRenderer()
|
Method Summary | |
protected void |
beginAssociation(DomainObject obj,
String path,
Property property)
Method called when the processing of an association starts |
protected void |
beginObject(DomainObject obj,
String path)
Method called when the processing of an object starts |
protected void |
beginRole(DomainObject obj,
String path,
Property property)
Method called when the processing of a role starts |
protected void |
endAssociation(DomainObject obj,
String path,
Property property)
Method called when the procesing of an association completes |
protected void |
endObject(DomainObject obj,
String path)
Method called when the procesing of an object completes |
protected void |
endRole(DomainObject obj,
String path,
Property property)
Method called when the procesing of a role completes |
String |
getText()
|
protected void |
handleAttribute(DomainObject obj,
String path,
Property property)
Method called when an attribute is encountered |
protected void |
revisitObject(DomainObject obj,
String path)
Method called when a previously visited object is encountered for a second time. |
Methods inherited from class com.arsdigita.domain.DomainObjectTraversal |
appendToPath, beginLink, endLink, findAdapter, lookupAdapter, nameFromPath, parentFromPath, registerAdapter, registerAdapter, unregisterAdapter, unregisterAdapter, walk, walk |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DomainObjectTextRenderer()
Method Detail |
public String getText()
protected void beginObject(DomainObject obj, String path)
DomainObjectTraversal
beginObject
in class DomainObjectTraversal
protected void endObject(DomainObject obj, String path)
DomainObjectTraversal
endObject
in class DomainObjectTraversal
protected void revisitObject(DomainObject obj, String path)
DomainObjectTraversal
revisitObject
in class DomainObjectTraversal
protected void handleAttribute(DomainObject obj, String path, Property property)
DomainObjectTraversal
handleAttribute
in class DomainObjectTraversal
protected void beginRole(DomainObject obj, String path, Property property)
DomainObjectTraversal
beginRole
in class DomainObjectTraversal
protected void endRole(DomainObject obj, String path, Property property)
DomainObjectTraversal
endRole
in class DomainObjectTraversal
protected void beginAssociation(DomainObject obj, String path, Property property)
DomainObjectTraversal
beginAssociation
in class DomainObjectTraversal
protected void endAssociation(DomainObject obj, String path, Property property)
DomainObjectTraversal
endAssociation
in class DomainObjectTraversal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |