|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.atlassian.gadgets.test.GadgetIframeParser
public class GadgetIframeParser
Wrapper for a gadget iframe DOM element that provides convenient access to element attributes and gadget properties that can be parsed from the element.
| Method Summary | |
|---|---|
String |
getModuleId()
Returns the module ID of the gadget represented by this parser. |
String |
getName()
Returns the name attribute of the iframe. |
URI |
getRenderedGadgetUrl()
Returns the URI of the rendered gadget represented by this parser. |
static GadgetIframeParser |
parseIframe(Node iframe)
Creates and returns a new GadgetIframeParser for the specified iframe DOM node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GadgetIframeParser parseIframe(Node iframe)
GadgetIframeParser for the specified iframe DOM node.
iframe - the iframe DOM node. Must not be null or a NullPointerException will be thrown
GadgetIframeParser for the specified iframe DOM node
IllegalArgumentException - if the specified DOM node is not an iframe element
NullPointerException - if the specified DOM node is nullpublic String getModuleId()
id
attribute.
public String getName()
public URI getRenderedGadgetUrl()
URI of the rendered gadget represented by this parser. This is the iframe src
attribute.
URI of the rendered gadget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||