|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.trajano.twiff.renderer.ComponentElement
public class ComponentElement
This is an element that has a component.
Constructor Summary | |
---|---|
ComponentElement(String elementName,
String componentName,
List<String> parameters,
Map<String,String> attributes)
Constructs the element. |
Method Summary | |
---|---|
void |
accept(PageElementVisitor visitor)
Accepts a visitor that should visit the page data. |
void |
addElement(PageElement element)
Append page data to the composite. |
Map<String,String> |
getAttributes()
Returns the attributes. |
int |
getColumnNumber()
Return the column number where the current page element ends. |
String |
getComponentName()
|
String |
getElementName()
|
List<PageElement> |
getElements()
Returns the sub-elements in the element. |
int |
getLineNumber()
Return the line number where the current page element ends. |
List<String> |
getParameters()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentElement(String elementName, String componentName, List<String> parameters, Map<String,String> attributes)
elementName
- element name.componentName
- parameters
- parameters.attributes
- attributes in the element.Method Detail |
---|
public final void accept(PageElementVisitor visitor)
accept
in interface PageElement
visitor
- visitor.public final Map<String,String> getAttributes()
public final List<PageElement> getElements()
getElements
in interface CompositePageElement
public final String getComponentName()
public final String getElementName()
public final List<String> getParameters()
public final void addElement(PageElement element)
CompositePageElement
addElement
in interface CompositePageElement
element
- page data.CompositePageElement.addElement(net.trajano.twiff.renderer.PageElement)
public int getColumnNumber()
PageElement
getColumnNumber
in interface PageElement
PageElement.getColumnNumber()
public int getLineNumber()
PageElement
getLineNumber
in interface PageElement
PageElement.getLineNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |