|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.wurbelizer.SourceSubElement
public abstract class SourceSubElement
Single- or block-comment-SourceElements may contain SubElements.
Currently, the following SubElements are defined:
SourceWurbletSubElement: a wurblet anchorSourceHereSubElement: a here-documentSourcePropertySubElement: a property-document
| Constructor Summary | |
|---|---|
SourceSubElement(SourceElement element,
String text)
Creates an unnamed SourceSubElement. |
|
SourceSubElement(SourceElement element,
String name,
String text)
Creates a SourceSubElement. |
|
| Method Summary | |
|---|---|
SourceElement |
getElement()
Gets the source element. |
String |
getName()
Gets the name. |
String |
getText()
Gets the contents. |
void |
setName(String name)
Sets the name |
String |
toString()
String representation of the sub-element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SourceSubElement(SourceElement element,
String name,
String text)
element - the SourceElement containing the sub elementname - the name of the sub elementtext - the contents of the sub element
public SourceSubElement(SourceElement element,
String text)
element - the SourceElement containing the sub elementtext - the contents of the sub element| Method Detail |
|---|
public SourceElement getElement()
public String getName()
public void setName(String name)
name - the name of the sub elementpublic String getText()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||