Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

edu.virtualschool.jwaa.xml.PageElement Class Reference

Inheritance diagram for edu.virtualschool.jwaa.xml.PageElement:

edu.virtualschool.jwaa.MetaPage edu.virtualschool.jwaa.TreeNode Collaboration diagram for edu.virtualschool.jwaa.xml.PageElement:

Collaboration graph
[legend]
List of all members.

Detailed Description

Page instances maintain the result of loading each page from a pages XML file along with a list of any Questions specified in the XML file. As each page is loaded, its XHTML content is recursively rewritten to replace all ALE markup with Velocity macro calls to handle the markup. If the page contains a <logic> element, its contents are simply inserted at the beginning of the string. If not, the velocity macro, #defaultContent(), is inserted there instead.

Definition at line 28 of file PageElement.java.

Public Member Functions

 PageElement (PagesElement pages, Element element) throws ValidationFault, IOFault
final String getId ()
final String getFilePath ()
PagesElement getPages ()
final ApplicationElement getApplication ()
final List getChildPageIDs ()
String toString ()

Public Attributes

final String id
final PagesElement pages
String text
final Element element
final List childPageList = new ArrayList()
FormElement form = null

Package Functions

final void commit () throws ValidationFault
GenericForm getFormInstance (Controller page) throws Fault
String getText ()

Static Package Functions

final String getURL (PagesElement pages, String id) throws ValidationFault

Package Attributes

boolean isCommited = false

Static Package Attributes

final Logger logger = Logger.getLogger(Page.class.getName())
final Outputter outputter = new Outputter(true)


The documentation for this class was generated from the following file: