public class PageElement extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addTagLibrary(String prefix,
TagLibrary tagLibrary)
Registers a tag library to this page element.
|
Map<String,String> |
getAttributes()
Returns a copy of the attribute map.
|
List<PageElement> |
getChildren()
Returns a list of this page element's children.
|
ComponentDefinition |
getDefinition()
Returns the component definition for this page element.
|
PageElement |
getParent()
Returns the parent of this page element.
|
TagLibrary |
getTagLibrary(String prefix)
Returns a tag library registered to this page element or one of its ancestors.
|
boolean |
isRoot()
Returns true if this is the root page element.
|
protected void |
validate()
Validates that the current state of the element possesses the minimum set of required
elements.
|
protected void validate()
public ComponentDefinition getDefinition()
public PageElement getParent()
public List<PageElement> getChildren()
public Map<String,String> getAttributes()
public boolean isRoot()
public void addTagLibrary(String prefix, TagLibrary tagLibrary)
prefix - The tag library prefix.tagLibrary - The tag library.public TagLibrary getTagLibrary(String prefix)
prefix - The tag library prefix.Copyright © 2018 Fujion Framework. All rights reserved.