class: LayoutElementsCollection

public class: LayoutElementsCollection
Author: vmakarenko (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1492 $ $LastChangedDate: 2009-01-29 15:; Complexity: 1
Dates: Created: 16.07.2009 15:12:20; Modified: 16.07.2009 15:12:20;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {92C4D1B8-4C1B-4eb9-B680-91490AD97EC8}
An instance of this class represents a Collection of {@link LayoutElement}s
 

Goto: Custom Properties, Fields, Methods

See also: CitationStyle, ReportingGUI, ProcessCitationStyles

Appears in: data

Connections
 
Custom Properties
 
LayoutElementsCollection Attributes
Attribute Details
private List
  layoutElements
Notes: oredred list of LayoutElements
private String
  name
Notes: Name of LayoutElementsCollection
 
LayoutElementsCollection Methods
Operation Details
public
addLayoutElement(
   LayoutElement le):void
Sequential
Notes: Adds <code>le</code> to <code>layoutElements</code> ordered list
public
clone():Object
Sequential
public
fillEmptyNames():void
Sequential
Notes: Fills all empty names according to position in {@link LayoutElementsCollection}
public
generateIDs():void
Sequential
Notes: Generates uniq <code>Id</code>s for {@link LayoutElement}s according to position in tree
public
getDomElement(
   Document d,
   Element e):Element
Sequential
Notes: Returns org.w3c.dom.Element for {@link LayoutElementsCollection} having <code>e</code> as root element
@return org.w3c.dom.Element for {@link LayoutElementsCollection}
public
getElementById(
   String id):LayoutElement
Sequential
Notes: Searches for {@link LayoutElement} by <code>id</code> in complete list of <code>layoutElements</code>
@param name
@return LayoutElement or null if not found
public
getElementByName(
   String name):LayoutElement
Sequential
Notes: Searches for {@link LayoutElement} by <code>name</code> in complete list of <code>layoutElements</code>
@return LayoutElement or null if not found
public
getLayoutElements():List
Sequential
public
getName():String
Sequential
public
LayoutElementsCollection():
Sequential
public static
loadFromXml(
   String xmlFileName):LayoutElementsCollection
Sequential
Tags: throws=IOException,SAXException
Notes: Loads {@link LayoutElementsCollection} from xmlfile
@return LayoutElementsCollection
public static
main(
   String[] args):void
Sequential
Tags: throws=IOException,SAXException,CitationStyleManagerException
public
setDefault():void
Sequential
public
setLayoutElements(
   List layoutElements):void
Sequential
public
setName(
   String name):void
Sequential
public
toString():String
Sequential
public
writeToXml(
   String xmlFileName):void
Sequential
Tags: throws=IOException,SAXException,CitationStyleManagerException
Notes: Writes {@link LayoutElementsCollection} to xmlfile