|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.brics.xsugar.stylesheet.Unit
dk.brics.xsugar.stylesheet.Element
public class Element
Element.
| Constructor Summary | |
|---|---|
Element(Name name,
List<Attribute> attrs,
List<Item> contents,
boolean unordered,
Location loc)
Constructs a new element. |
|
| Method Summary | |
|---|---|
List<Attribute> |
getAttributes()
Returns the attributes of this element. |
List<Item> |
getContents()
Returns the contents of this element |
Name |
getName()
Returns the name of this element. |
boolean |
isUnordered()
Returns true if this element is at top-level of unordered production. |
void |
visit(Visitor visitor)
Visits this node. |
| Methods inherited from class dk.brics.xsugar.stylesheet.Unit |
|---|
getLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Element(Name name,
List<Attribute> attrs,
List<Item> contents,
boolean unordered,
Location loc)
name - element nameattrs - attributescontents - element contentsunordered - unordered flagloc - source location| Method Detail |
|---|
public List<Attribute> getAttributes()
public List<Item> getContents()
public Name getName()
public boolean isUnordered()
public void visit(Visitor visitor)
visit in interface Itemvisitor - visitor
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||