Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.tapestry5.dom.Element

Packages that use Element
org.apache.tapestry5 | Root package for Tapestry, containing common interfaces and data types used throughout the framework.
org.apache.tapestry5.corelib.internal | [INTERNAL USE ONLY] support classes for the Tapestry-core module; API subject to change core components.
org.apache.tapestry5.dom | A Document Object Model, a tree of nodes representing elements, attributes and text within a document.
org.apache.tapestry5.internal | [INTERNAL USE ONLY] internal support classes; API subject to change.
org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.internal.util | [INTERNAL USE ONLY] various utility classes; API subject to change.
org.apache.tapestry5.services | Core services
org.apache.tapestry5.services.javascript | Support for Javascript (and CSS), including dynamically-added JavaScript and services that manage dynamically-added links to JavaScript (and CSS) assets.
org.apache.tapestry5.test | Support for testing Tapestry pages

Uses of Element in org.apache.tapestry5

Methods in org.apache.tapestry5 that return Element
`Element` | `MarkupWriter.attributeNS(java.lang.String namespace, java.lang.String attributeName, java.lang.String attributeValue)` Creates an attribute within the namespace for the current element.
`Element` | `MarkupWriter.defineNamespace(java.lang.String namespace, java.lang.String namespacePrefix)` Defines a namespace for the currently active element.
`Element` | `MarkupWriter.element(java.lang.String name, java.lang.Object... attributes)` Begins a new element as a child of the current element.
`Element` | `MarkupWriter.elementNS(java.lang.String namespace, java.lang.String elementName)` Starts an element within the given namespace.
`Element` | `MarkupWriter.end()` Ends the current element.
`Element` | `MarkupWriter.getElement()` Returns the currently active element.

Methods in org.apache.tapestry5 with parameters of type Element
`void` | `MarkupWriterAdapter.elementDidEnd(Element element)`
`void` | `MarkupWriterListener.elementDidEnd(Element element)` Invoked just after an element has ended.
`void` | `MarkupWriterAdapter.elementDidStart(Element element)`
`void` | `MarkupWriterListener.elementDidStart(Element element)` Invoked just after an element and its initial set of attributes has been written.
`void` | `BaseValidationDecorator.insideLabel(Field field, Element labelElement)`
`void` | `ValidationDecorator.insideLabel(Field field, Element labelElement)` Invoked after the label has rendered its tag, but before it has rendered content inside the tag, to allow the decorator to write additional attributes.

Uses of Element in org.apache.tapestry5.corelib.internal

Methods in org.apache.tapestry5.corelib.internal that return Element
`Element` | `HiddenFieldPositioner.getElement()` Returns the hidden field element, which can have its attributes filled in.

Uses of Element in org.apache.tapestry5.dom

Methods in org.apache.tapestry5.dom that return Element
`Element` | `Element.addClassName(java.lang.String... className)` Adds one or more CSS class names to the "class" attribute.
`Element` | `Element.attribute(java.lang.String name, java.lang.String value)` Adds an attribute to the element, but only if the attribute name does not already exist.
`Element` | `Element.attribute(java.lang.String namespace, java.lang.String name, java.lang.String value)` Adds a namespaced attribute to the element, but only if the attribute name does not already exist.
`Element` | `Element.attributes(java.lang.String... namesAndValues)` Convenience for invoking `attribute(String, String)` multiple times.
`Element` | `Element.comment(java.lang.String text)` Adds the comment and returns this element for further construction.
`Element` | `Element.defineNamespace(java.lang.String namespace, java.lang.String namespacePrefix)` Defines a namespace for this element, mapping a URI to a prefix.
`Element` | `Element.element(java.lang.String name, java.lang.String... namesAndValues)` Creates and returns a new Element node as a child of this node.
`Element` | `Element.elementAt(int index, java.lang.String name, java.lang.String... namesAndValues)` Creates a new element, as a child of the current index, at the indicated index.
`Element` | `Element.elementBefore(java.lang.String name, java.lang.String... namesAndValues)` Inserts a new element before this element.
`Element` | `Element.elementNS(java.lang.String namespace, java.lang.String name)` Creates and returns a new Element within a namespace as a child of this node.
`Element` | `Document.find(java.lang.String path)` Finds an element based on a path of element names.
`Element` | `Element.find(java.lang.String path)` Searchs for a child element with a particular name below this element.
`Element` | `Element.forceAttributes(java.lang.String... namesAndValues)` Forces changes to a number of attributes.
`Element` | `Element.forceAttributesNS(java.lang.String namespace, java.lang.String... namesAndValues)` Forces changes to a number of attributes in the global namespace.
`Element` | `Node.getContainer()` Returns the containing `Element` for this node, or null if this node is the root element of the document.
`Element` | `Element.getElement(Predicate<Element> predicate)` Tries to find an element under this element (including itself) accepted by the given predicate.
`Element` | `Element.getElementByAttributeValue(java.lang.String attributeName, java.lang.String attributeValue)` Tries to find an element under this element (including itself) whose given attribute has a given value.
`Element` | `Document.getElementById(java.lang.String id)` Tries to find an element in this document whose id is specified.
`Element` | `Element.getElementById(java.lang.String id)` Tries to find an element under this element (including itself) whose id is specified.
`Element` | `Document.getRootElement()`
`Element` | `Document.newRootElement(java.lang.String name)` Creates the root element for this document, replacing any previous root element.
`Element` | `Document.newRootElement(java.lang.String namespace, java.lang.String name)` Creates a new root element within a namespace.
`Element` | `Element.raw(java.lang.String text)` Adds the raw text and returns this element for further construction.
`Element` | `Element.removeChildren()` Removes all children from this element.
`Element` | `Node.wrap(java.lang.String elementName, java.lang.String... namesAndValues)` Wraps a node inside a new element.

Methods in org.apache.tapestry5.dom with parameters of type Element
`Node` | `Node.moveAfter(Element element)` Moves this node so that it becomes a sibling of the element, ordered just after the element.
`Node` | `Node.moveBefore(Element element)` Moves this node so that it becomes a sibling of the element, ordered just before the element.
`Node` | `Node.moveToBottom(Element element)` Moves this node so that it the last child of the element.
`Node` | `Node.moveToTop(Element element)` Moves this node so that it becomes this first child of the element, shifting existing elements forward.
`void` | `Visitor.visit(Element element)` Called for each Element being visited.

Method parameters in org.apache.tapestry5.dom with type arguments of type Element
`Element` | `Element.getElement(Predicate<Element> predicate)` Tries to find an element under this element (including itself) accepted by the given predicate.

Constructors in org.apache.tapestry5.dom with parameters of type Element
`CData(Element container, java.lang.String content)`
`Node(Element container)` Creates a new node, setting its container to the provided value.

Uses of Element in org.apache.tapestry5.internal

Methods in org.apache.tapestry5.internal with parameters of type Element
`void` | `DefaultValidationDecorator.insideLabel(Field field, Element element)`

Uses of Element in org.apache.tapestry5.internal.services

Methods in org.apache.tapestry5.internal.services that return Element
`Element` | `MarkupWriterImpl.attributeNS(java.lang.String namespace, java.lang.String attributeName, java.lang.String attributeValue)`
`Element` | `MarkupWriterImpl.defineNamespace(java.lang.String namespace, java.lang.String namespacePrefix)`
`Element` | `MarkupWriterImpl.element(java.lang.String name, java.lang.Object... namesAndValues)`
`Element` | `MarkupWriterImpl.elementNS(java.lang.String namespace, java.lang.String elementName)`
`Element` | `MarkupWriterImpl.end()`
`Element` | `MarkupWriterImpl.getElement()`

Methods in org.apache.tapestry5.internal.services with parameters of type Element
`protected void` | `DocumentLinkerImpl.addDynamicScriptBlock(Element body)` Adds the dynamic script block, which is, ultimately, a call to the client-side Tapestry.onDOMLoaded() function.
`protected void` | `DocumentLinkerImpl.addScriptLinksForIncludedScripts(Element headElement, java.util.List<java.lang.String> scripts)` Adds a script link for each included script to the top of the the `<head>` element.
`protected void` | `DocumentLinkerImpl.addStylesheetsToHead(Element root, java.util.List<StylesheetLink> stylesheets)` Locates the head element under the root ("html") element, creating it if necessary, and adds the stylesheets to it.
`boolean` | `HiddenFieldLocationRulesImpl.placeHiddenFieldAfter(Element element)`
`boolean` | `HiddenFieldLocationRulesImpl.placeHiddenFieldInside(Element element)`

Uses of Element in org.apache.tapestry5.internal.util

Methods in org.apache.tapestry5.internal.util with parameters of type Element
`void` | `ValidationDecoratorWrapper.insideLabel(Field field, Element labelElement)`

Uses of Element in org.apache.tapestry5.services

Methods in org.apache.tapestry5.services with parameters of type Element
`boolean` | `HiddenFieldLocationRules.placeHiddenFieldAfter(Element element)` Checks the element to see if a hidden field may be placed after the element (as a sibling element).
`boolean` | `HiddenFieldLocationRules.placeHiddenFieldInside(Element element)` Checks the element to see if a hidden field may be placed inside the element.

Uses of Element in org.apache.tapestry5.services.javascript

Methods in org.apache.tapestry5.services.javascript with parameters of type Element
`void` | `StylesheetLink.add(Element container)` Invoked to add the stylesheet link to a container element.

Uses of Element in org.apache.tapestry5.test

Methods in org.apache.tapestry5.test with parameters of type Element
`Document` | `PageTester.clickLink(Element linkElement)` Simulates a click on a link.
`TestableResponse` | `PageTester.clickLinkAndReturnResponse(Element linkElement)` Simulates a click on a link.
`Document` | `PageTester.clickSubmit(Element submitButton, java.util.Map<java.lang.String,java.lang.String> fieldValues)` Simulates a submission of the form by clicking the specified submit button.
`TestableResponse` | `PageTester.clickSubmitAndReturnResponse(Element submitButton, java.util.Map<java.lang.String,java.lang.String> fieldValues)` Simulates a submission of the form by clicking the specified submit button.
`Document` | `PageTester.submitForm(Element form, java.util.Map<java.lang.String,java.lang.String> parameters)` Simulates a submission of the form specified.
`TestableResponse` | `PageTester.submitFormAndReturnResponse(Element form, java.util.Map<java.lang.String,java.lang.String> parameters)` Simulates a submission of the form specified.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2003-2012 The Apache Software Foundation.