|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.hints.RenderingHintsImpl
DOM-Based implementation of the IRenderingHints interface.
| Field Summary | |
protected Element |
elt
|
static String |
HINTS_ELT_NAME
Tag name for hintss in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.hints.IRenderingHints |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
RenderingHintsImpl(Element elt)
|
|
| Method Summary | |
void |
addHints(IHints newHints)
Add a hints to this RenderingHints. |
void |
addHintss(Collection hintss)
Add a collection of hintss to this RenderingHints. |
void |
clearHintss()
Remove all hintss from this RenderingHints. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Collection |
getAllHintss()
Get all the hintss from this RenderingHints. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasAllHintss(Collection hintssToCheck)
Determine if this RenderingHints contains each element in the given set of hintss. |
int |
hashCode()
|
boolean |
hasHints(IHints hintsToCheck)
Determine if this RenderingHints contains a given hints. |
Collection |
hasHintss(Collection hintssToCheck)
Determine if this RenderingHints contains the given set of hintss. |
boolean |
isEquivalent(IRenderingHints c)
Determine if another RenderingHints is equivalent to this one, ignoring ID's. |
void |
removeHints(IHints hintsToRemove)
Remove the given hints from this RenderingHints. |
void |
removeHintss(Collection hintss)
Remove all the given hintss from this RenderingHints. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setXArch(IXArch xArch)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
protected IXArch xArch
public static final String HINTS_ELT_NAME
protected Element elt
| Constructor Detail |
public RenderingHintsImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodeprotected static SequenceOrder getSequenceOrder()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementpublic IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic boolean equals(Object o)
public int hashCode()
public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementpublic void addHints(IHints newHints)
IRenderingHints
addHints in interface IRenderingHintsnewHints - hints to add.public void addHintss(Collection hintss)
IRenderingHints
addHintss in interface IRenderingHintshintss - hintss to add.public void clearHintss()
IRenderingHints
clearHintss in interface IRenderingHintspublic void removeHints(IHints hintsToRemove)
IRenderingHintsisEquivalent(...) function.
removeHints in interface IRenderingHintshintsToRemove - hints to remove.public void removeHintss(Collection hintss)
IRenderingHintsisEquivalent(...) function.
removeHintss in interface IRenderingHintshintss - hints to remove.public Collection getAllHintss()
IRenderingHints
getAllHintss in interface IRenderingHintspublic boolean hasHints(IHints hintsToCheck)
IRenderingHints
hasHints in interface IRenderingHintstrue if this RenderingHints contains the given
hintsToCheck, false otherwise.public Collection hasHintss(Collection hintssToCheck)
IRenderingHints
hasHintss in interface IRenderingHintshintssToCheck - hintss to check for.
java.lang.Boolean. If the ith
element in hintss was found, then the ith
element of the collection will be set to true, otherwise it
will be set to false. Matching is done with the
isEquivalent(...) method.public boolean hasAllHintss(Collection hintssToCheck)
IRenderingHints
hasAllHintss in interface IRenderingHintshintssToCheck - hintss to check for.
true if every element in
hintss is found in this RenderingHints,
false otherwise.public boolean isEquivalent(IRenderingHints c)
IRenderingHints
isEquivalent in interface IRenderingHintsc - RenderingHints to compare to this one.
true if all the child elements of this
RenderingHints are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||