Examples of Element

The articles listed here span the above and include links to the appropriate W3C DOM specification.

While these interfaces are generally shared by most HTML and XML elements, there are more specialized interfaces for particular objects listed in the DOM HTML Specification. Note, however, that these HTML interfaces are "only for [HTML 4.01] and [XHTML 1.0] documents and are not guaranteed to work with any future version of XHTML." The HTML 5 draft does state it aims for backwards compatibility with these HTML interfaces but says of them that "some features that were formerly deprecated, poorly supported, rarely used or considered unnecessary have been removed." One can avoid the potential conflict by moving entirely to DOM XML attribute methods such as getAttribute().

Html , Head , Link , Title , Meta , Base , IsIndex , Style , Body , Form , Select , OptGroup , Option, Input , TextArea , Button , Label , FieldSet , Legend , UList , OList , DList , Directory , Menu , LI , Div , Paragraph , Heading , Quote , Pre , BR , BaseFont , Font , HR , Mod , Anchor , Image , Object , Param , Applet , Map , Area , Script , Table , TableCaption , TableCol , TableSection , TableRow , TableCell , FrameSet , Frame , IFrame

  • elemental.html.Element
  • etch.bindings.java.support.Mailbox.Element
  • etch.util.core.xml.XmlParser.Element
  • extrabiomes.lib.Element
  • fr.tm.elibel.smartqvt.qvt.emof.Element
  • gov.nist.microanalysis.EPQLibrary.Element
  • hu.jokeman.xparser.cldc11.document.nodes.Element
  • hu.jokeman.xparser.impl.document.nodes.Element
  • it.unimi.dsi.parser.Element
  • jade.content.onto.annotations.Element
  • javax.constraints.impl.constraint.Element
  • javax.lang.model.element.Element
    Represents a program element such as a package, class, or method. Each element represents a static, language-level construct (and not, for example, a runtime construct of the virtual machine).

    Elements should be compared using the {@link #equals(Object)}method. There is no guarantee that any particular element will always be represented by the same object.

    To implement operations based on the class of an {@code Element} object, either use a {@linkplain ElementVisitor visitor} oruse the result of the {@link #getKind} method. Using {@code instanceof} is not necessarily a reliable idiom fordetermining the effective class of an object in this modeling hierarchy since an implementation may choose to have a single object implement multiple {@code Element} subinterfaces. @author Joseph D. Darcy @author Scott Seligman @author Peter von der Ahé @see Elements @see TypeMirror @since 1.6

  • javax.swing.text.Element
    Interface to describe a structural piece of a document. It is intended to capture the spirit of an SGML element. @author Timothy Prinzing
  • javax.swing.text.html.parser.Element
  • jodd.lagarto.dom.Element
    Tag node.
  • js.dom.Element

    Enhanced {@link org.w3c.dom.Element} for web platform.

    @version 2013/07/30 19:05:51
  • lineage2.gameserver.model.base.Element
    @author Mobius @version $Revision: 1.0 $
  • metier.Element
  • mf.org.w3c.dom.Element
    3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification.
  • models.Element
  • name.pehl.totoe.xml.client.Element
    The Element interface represents an element in an XML document. Elements may have attributes associated with them. There are methods on the Element interface to retrieve either an {@linkplain Attribute attribute instance} orattribute value by name.

    This interface implements {@link HasText} and returns the text of the firstchild in case the first child itself implements {@link HasText}. In all other cases the {@link HasText#getText()} method returns null . @author $Author$ @version $Date$ $Revision: 78$

  • net.aufdemrand.denizen.objects.Element
  • net.htmlparser.jericho.Element
    3.org/TR/html401/intro/sgmltut.html#h-3.2.1">element in a specific {@linkplain Source source} document, which encompasses a {@linkplain #getStartTag() start tag}, an optional {@linkplain #getEndTag() end tag} and all {@linkplain #getContent() content} in between.

    Take the following HTML segment as an example:

    <p>This is a sample paragraph.</p>

    The whole segment is represented by an Element object. This is comprised of the {@link StartTag} "<p>",the {@link EndTag} "</p>", as well as the text in between.An element may also contain other elements between its start and end tags.

    The term normal element refers to an element having a {@linkplain #getStartTag() start tag}with a {@linkplain StartTag#getStartTagType() type} of {@link StartTagType#NORMAL}. This comprises all {@linkplain HTMLElements HTML elements} and non-HTML elements.

    Element instances are obtained using one of the following methods:

    See also the {@link HTMLElements} class, and the XML 1.0 specification for elements.

    Element Structure

    The three possible structures of an element are listed below:

    Single Tag Element:
    <img src="mypicture.jpg">

    The element consists only of a single {@linkplain #getStartTag() start tag} and has no {@linkplain #getContent() element content}(although the start tag itself may have {@linkplain StartTag#getTagContent() tag content}).
    {@link #getEndTag()}==null
    {@link #isEmpty()}==true
    {@link #getEnd() getEnd()}== {@link #getStartTag()}. {@link #getEnd() getEnd()}

    This occurs in the following situations:

    • An HTML element for which the {@linkplain HTMLElements#getEndTagForbiddenElementNames() end tag is forbidden}.
    • An HTML element for which the {@linkplain HTMLElements#getEndTagRequiredElementNames() end tag is required}, but the end tag is not present in the source document.
    • An HTML element for which the {@linkplain HTMLElements#getEndTagOptionalElementNames() end tag is optional}, where the implicitly terminating tag is situated immediately after the element's {@linkplain #getStartTag() start tag}.
    • An {@linkplain #isEmptyElementTag() empty element tag}
    • A non-HTML element that is not an {@linkplain #isEmptyElementTag() empty element tag} but is missing its end tag.
    • An element with a start tag of a {@linkplain StartTag#getStartTagType() type} that does not define a{@linkplain StartTagType#getCorrespondingEndTagType() corresponding end tag type}.
    • An element with a start tag of a {@linkplain StartTag#getStartTagType() type} that does define a{@linkplain StartTagType#getCorrespondingEndTagType() corresponding end tag type} but is missing its end tag.
    Explicitly Terminated Element:
    <p>This is a sample paragraph.</p>

    The element consists of a {@linkplain #getStartTag() start tag}, {@linkplain #getContent() content}, and an {@linkplain #getEndTag() end tag}.
    {@link #getEndTag()}!=null.
    {@link #isEmpty()}==false (provided the end tag doesn't immediately follow the start tag)
    {@link #getEnd() getEnd()}== {@link #getEndTag()}. {@link #getEnd() getEnd()}.

    This occurs in the following situations, assuming the start tag's matching end tag is present in the source document:

    • An HTML element for which the end tag is either {@linkplain HTMLElements#getEndTagRequiredElementNames() required} or {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}.
    • A non-HTML element that is not an {@linkplain #isEmptyElementTag() empty element tag}.
    • An element with a start tag of a {@linkplain StartTag#getStartTagType() type} that defines a{@linkplain StartTagType#getCorrespondingEndTagType() corresponding end tag type}.
    Implicitly Terminated Element:
    <p>This text is included in the paragraph element even though no end tag is present.
    <p>This is the next paragraph.

    The element consists of a {@linkplain #getStartTag() start tag} and {@linkplain #getContent() content}, but no {@linkplain #getEndTag() end tag}.
    {@link #getEndTag()}==null.
    {@link #isEmpty()}==false
    {@link #getEnd() getEnd()}!= {@link #getStartTag()}. {@link #getEnd() getEnd()}.

    This only occurs in an HTML element for which the {@linkplain HTMLElements#getEndTagOptionalElementNames() end tag is optional}.

    The element ends at the start of a tag which implies the termination of the element, called the implicitly terminating tag. If the implicitly terminating tag is situated immediately after the element's {@linkplain #getStartTag() start tag}, the element is classed as a single tag element.

    See the element parsing rules for HTML elements with optional end tags for details on which tags can implicitly terminate a given element.

    See also the documentation of the {@link HTMLElements#getEndTagOptionalElementNames()} method.

    Element Parsing Rules

    The following rules describe the algorithm used in the {@link StartTag#getElement()} method to construct an element.The detection of the start tag's matching end tag or other terminating tags always takes into account the possible nesting of elements.

    @see HTMLElements
  • net.nakou.indie.jsige.entity.Element
    @author Nakou
  • net.sf.archimede.model.metadata.Element
  • net.sf.cb2java.types.Element
    base class for types @author James Watson
  • net.sf.ehcache.Element
    A Cache Element, consisting of a key, value and attributes.

    From ehcache-1.2, Elements can have keys and values that are Serializable or Objects. To preserve backward compatibility, special accessor methods for Object keys and values are provided: {@link #getObjectKey()} and{@link #getObjectValue()}. If placing Objects in ehcache, developers must use the new getObject... methods to avoid CacheExceptions. The get... methods are reserved for Serializable keys and values. @author Greg Luck @version $Id: Element.java 744 2008-08-16 20:10:49Z gregluck $

  • net.sf.gwtseam.model.Element
  • net.sf.joafip.entity.rel400.Element
    @author luc peuvrier
  • net.sf.jpluck.plucker.parsing.Element
    Element of a simple read-only tree intended to be built during a SAX event stream. The tree provides context to a ContentHandler implementation.
  • net.sf.minuteProject.configuration.bean.xml.Element
  • nexj.core.meta.integration.format.xml.schema.Element
    Definition of an element.
  • nl.lxtreme.ols.util.ExportUtils.HtmlExporter.Element
  • nu.validator.saxtree.Element
    An element. @version $Id$ @author hsivonen
  • nu.xom.Element

    This class represents an XML element. Each element has the following properties:

    @author Elliotte Rusty Harold @version 1.2.7
  • nz.govt.natlib.fx.Element
  • obj.Element
  • ofc4j.model.elements.Element
  • org.activiti.engine.impl.util.xml.Element
    Represents one XML element. @author Tom Baeyens @author Joram Barrez
  • org.apache.abdera.model.Element
    Root interface for all elements in the Feed Object Model
  • org.apache.axiom.c14n.omwrapper.interfaces.Element
    @author Saliya Ekanayake (esaliya@gmail.com)
  • org.apache.axis.wsdl.symbolTable.Element
    This class represents a TypeEntry that is a type (complexType, simpleType, etc. @author Rich Scheuerle (scheu@us.ibm.com)
  • org.apache.axis2.jaxws.marshaller.impl.alt.Element
    Characteristics of the "Element" value. The Element value is ready for marshalling or is the result of unmarshalling. The Element value represents the element rendering. Thus it is either a JAXBElement or has the @XmlRootElement annotation. (i.e. it is never a java.lang.String) The Element value is not a JAX-WS object. (i.e. it is not a holder or exception) Characteristics of the "Type" value It is the type value associated with the element value. (Thus it is either the element value or it is value of the JAXBElement The type value is usually the object needed for the method signature (i.e. String)

    Here is an example for illustration: ...



    JAXB will generate the following objects: E1, T2, E3 E1 will have an @XMLRootElement annotation. It is "element" and "type" enabled. e2 does not have a generated object. So it will be represented as a JAXBElement that contains an object T2. The JAXBElement is "element" enabled. T2 represents a complexType. It is only "type" enabled. E3 represents the e3 complexType (it does not represent the e3 element). Thus E3 is "type enabled".

    When JAXB unmarshals an object, it will return an "element" enabled object (either a generatated object with @XMLRootElement or a JAXBElement). Conversely, you must always marshal "element" enabled objects. @see PDElement

    At the signature level, the values passed as arguments in an SEI operation represent type enabled objects. Each of the object must be converted to an element enabled object to marshal (or conversely converted to a type enabled object when unmarshalling)

  • org.apache.click.element.Element
    Provides a base class for rendering HTML elements, for example JavaScript (<script>) and Cascading Stylesheets (<link> / <style>).

    Subclasses should override {@link #getTag()} to return a specific HTML tag.

  • org.apache.etch.bindings.java.support.Mailbox.Element
  • org.apache.etch.util.core.xml.XmlParser.Element
  • org.apache.felix.ipojo.metadata.Element
    An element represents an XML Element. It contains a name, a namepace, {@link Attribute} objectsand sub-elements. This class is used to parse iPOJO metadata. @author Felix Project Team
  • org.apache.hivemind.Element
    Simplified read-only thread safe DOM. Currently, no support for namespaces, but that may come. @author Howard Lewis Ship
  • org.apache.isis.viewer.xhtml.viewer.tree.Element
  • org.apache.jackrabbit.ocm.testmodel.collection.Element
    @author Lombart Christophe @version $Id: Exp $
  • org.apache.jackrabbit.spi.Path.Element
  • org.apache.lenya.cms.metadata.Element
    A meta data element.
  • org.apache.mahout.math.Vector.Element
  • org.apache.oodt.cas.filemgr.structs.Element
    @author mattmann @version $Revision$

    A metadata element.

  • org.apache.pivot.wtk.text.Element
    Abstract base class for elements.

    TODO Add style properties.

    TODO Add style class property.

  • org.apache.pivot.xml.Element
    Node class representing an XML element.
  • org.apache.tapestry.dom.Element
    An element that will render with a begin tag and attributes, a body, and an end tag. Also acts as a factory for enclosed Element, Text and Comment nodes. TODO: Support for CDATA nodes. Do we need Entity nodes?
  • org.apache.tapestry5.dom.Element
    An element that will render with a begin tag and attributes, a body, and an end tag. Also acts as a factory for enclosed Element, Text and Comment nodes.

    TODO: Support for CDATA nodes. Do we need Entity nodes?

  • org.apache.xmlbeans.impl.inst2xsd.util.Element
    @author Cezar Andrei (cezar.andrei at bea.com) Date: Jul 16, 2004
  • org.camunda.bpm.engine.impl.util.xml.Element
    Represents one XML element. @author Tom Baeyens @author Joram Barrez
  • org.castor.xmlctf.xmldiff.xml.nodes.Element
    A representation of an Element XML node. @author Edward Kuns @version $Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $ @since Castor 1.1
  • org.codehaus.enunciate.contract.jaxb.Element
    An accessor that is marshalled in xml to an xml element. @author Ryan Heaton
  • org.codehaus.plexus.formica.Element
    @author Jason van Zyl @version $Id: Element.java 2336 2005-07-18 21:05:55Z jvanzyl $
  • org.cyberneko.html.HTMLElements.Element
  • org.dom4j.Element

    Element interface defines an XML element. An element can have declared namespaces, attributes, child nodes and textual content.

    Some of this interface is optional. Some implementations may be read-only and not support being modified. Some implementations may not support the parent relationship and methods such as {@link #getParent}or {@link #getDocument}.

    @author James Strachan @version $Revision: 1.47 $
  • org.eaxy.Element
  • org.eclipse.e4.xwt.internal.xml.Element
    @since 1.0 @author yyang
  • org.eclipse.persistence.internal.oxm.schema.model.Element
  • org.eclipse.sapphire.Element
    @author Konstantin Komissarchik @author Shenxue Zhou
  • org.eclipse.uml2.Element
  • org.eclipse.uml2.uml.Element
  • org.eclipse.xtend.lib.macro.declaration.Element
    The super type of all AST elements used in this package @author Sven Efftinge @noimplement This interface is not intended to be implemented by clients.
  • org.emftrace.metamodel.QUARCModel.GSS.Element
  • org.exist.util.sax.event.contenthandler.Element
    @author Adam Retter
  • org.exist.xslt.expression.Element
    @author Dmitriy Shabanov
  • org.exoplatform.portal.mop.management.binding.xml.Element
  • org.expath.httpclient.model.Element
  • org.geotools.xml.schema.Element

    Instances of this interface are intended to represent XML Schema Elements.

    @author dzwiers www.refractions.net @source $URL$
  • org.graphstream.graph.Element
    An element is a part of a graph (node, edge, the graph itself).

    An interface that defines common method to manipulate identifiers, attributes and indices of the elements (graph, nodes and edges) of a graph.


    Attributes can be any object and are identified by arbitrary strings. Some attributes are stored as numbers or strings and are in this case named number, label or vector. There are utility methods to handle these attributes ( {@link #getNumber(String)}, {@link #getLabel(String)}) or {@link #getVector(String)}, however they are also accessible through the more general method {@link #getAttribute(String)}.


    Implementing classes should indicate the complexity of their implementation for each method.

    @since July 12 2007
  • org.gstreamer.Element
    Abstract base class for all pipeline elements.

    Element is the abstract base class needed to construct an element that can be used in a GStreamer pipeline. Please refer to the plugin writers guide for more information on creating Element subclasses.

    The name of a Element can be retrieved with {@link #getName} and set with{@link #setName}.

    All elements have pads (of the type {@link Pad}). These pads link to pads on other elements. {@link Buffer}s flow between these linked pads. An Element has a list of {@link Pad} structures for all their input (or sink)and output (or source) pads. Core and plug-in writers can add and remove pads with {@link #addPad}and {@link #removePad}.

    A pad of an element can be retrieved by name with {@link #getPad}. An list of all pads can be retrieved with {@link #getPads}.

    Elements can be linked through their pads. If the link is straightforward, use the {@link #link}convenience function to link two elements, or {@link #linkMany}for more elements in a row.

    For finer control, use {@link #linkPads} and {@link #linkPadsFiltered}to specify the pads to link on each element by name.

    Each element has a state (see {@link State}). You can get and set the state of an element with {@link #getState} and {@link #setState}.

  • org.infoset.xml.Element
  • org.jboss.as.controller.parsing.Element
  • org.jboss.as.jaxr.JAXRConstants.Element
  • org.jboss.as.jaxr.extension.JAXRConstants.Element
  • org.jboss.as.messaging.Element
  • org.jboss.as.model.Element
  • org.jboss.gravia.repository.Namespace100.Element
    sgi.org/xmlns/repository/v1.0.0 @author Thomas.Diesler@jboss.com @since 14-May-2012
  • org.jdom.Element
    An XML element. Methods allow the user to get and manipulate its child elements and content, directly access the element's textual content, manipulate its attributes, and manage namespaces. @version $Revision: 1.159 $, $Date: 2007/11/14 05:02:08 $ @author Brett McLaughlin @author Jason Hunter @author Lucas Gonze @author Kevin Regan @author Dan Schaffer @author Yusuf Goolamabbas @author Kent C. Johnson @author Jools Enticknap @author Alex Rosen @author Bradley S. Huffman @author Victor Toni
  • org.jdom2.Element
  • org.jfree.report.Element
  • org.jfree.report.structure.Element
    report.sourceforge.net/namespaces/engine/flow' namespace and in the 'http://jfreereport.sourceforge.net/namespaces/engine/compatibility' namespace are considered internal. You should only touch them, if you really know what you are doing. @author Thomas Morgner
  • org.joget.apps.form.model.Element
    Base class for all elements within a form. All forms, containers and form fields must override this class.
  • org.jsoup.nodes.Element
    A HTML element consists of a tag name, attributes, and child nodes (including text nodes and other elements). From an Element, you can extract data, traverse the node graph, and manipulate the HTML. @author Jonathan Hedley, jonathan@hedley.net
  • org.jvnet.hk2.config.Element
    experimental thread local class for tracing inhabitant initialization and module resolution @author Jerome Dochez
  • org.kxml2.kdom.Element
    In order to create an element, please use the createElement method instead of invoking the constructor directly. The right place to add user defined initialization code is the init method.
  • org.languagetool.rules.patterns.Element
    A part of a pattern, represents the 'token' element of the grammar.xml. @author Daniel Naber
  • org.locationtech.udig.printing.model.Element
    An Element object represents an item of the printing framework and has the following characteristics: Each object to be included in a Page must implement this interface. @author Richard Gould @since 0.3 @model
  • org.maltparserx.core.syntaxgraph.Element
    @author Johan Hall
  • org.mom4j.messaging.select.Element
  • org.mybatis.generator.api.dom.xml.Element
    @author Jeff Butler
  • org.nlogo.shape.Element
  • org.openqreg.element.Element
    Interface for UCR elements (containers, variables) @author Andreas @responsible Andreas
  • org.osm.jsoup.nodes.Element
  • org.palo.api.Element
  • org.pentaho.reporting.engine.classic.core.Element
    ted elsewhere ElementStyleSheet globalStyle = report.getStyleSheetCollection().createStyleSheet ("a name for the global style");

    Element element = .. // created elsewhere element.getStyleSheet().addParent(globalStyle); report.getItemBand().addElement (element);

    Global stylesheets will always be queried before the parent's stylesheet gets queried. The order of the add-operation does matter, StyleSheets which are added last will be preferred over previously added stylesheets. @author David Gilbert @author Thomas Morgner @noinspection ClassReferencesSubclass

  • org.richfaces.dtd.Element
    @author Maksim Kaszynski
  • org.sablecc.sablecc.lrautomaton.Element
  • org.simpleframework.xml.Element
  • org.stjs.javascript.dom.Element
  • org.teiid.query.processor.xml.Element
  • org.telluriumsource.trump.Element
    Hold data for screen captured data for one UI element @author Jian Fang (John.Jian.Fang@gmail.com)Date: Dec 10, 2008
  • org.thrudb.thrudex.Element
  • org.thymeleaf.dom.Element

    An Element node in a Thymeleaf DOM tree. In XML-based templates, Elements normally correspond to tags.

    Elements are nestable nodes, and therefore have children. Besides, they have a sequence of attributes, each of them with a value. Attributes are modeled by means of the {@link Attribute} class.

    @author Daniel Fernández @since 2.0.0
  • org.timerescue.element.Element
    @author chamanx
  • org.trebor.freesand.World.Element
  • org.w3c.dom.Element
    The Element interface represents an element in an HTML or XML document. Elements may have attributes associated with them; since the Element interface inherits from Node , the generic Node interface attribute attributes may be used to retrieve the set of all attributes for an element. There are methods on the Element interface to retrieve either an Attr object by name or an attribute value by name. In XML, where an attribute value may contain entity references, an Attr object should be retrieved to examine the possibly fairly complex sub-tree representing the attribute value. On the other hand, in HTML, where all attributes have simple string values, methods to directly access an attribute value can safely be used as a convenience. In DOM Level 2, the method normalize is inherited from the Node interface where it was moved.
  • org.waveprotocol.wave.model.document.raw.impl.Element
    Mimics a DOM Element node.
  • org.wildfly.extension.rts.configuration.Element
  • org.xbill.DNS.APLRecord.Element
  • org.xdams.adv.configuration.Element
  • org.zkoss.idom.Element
    The iDOM element. @author tomyeh @see Attribute
  • pivot.wtk.text.Element
    Abstract base class for elements.

    TODO Add style properties.

    TODO Add style class property. @author gbrown

  • plar.core.Element
    Element should be a generic element in the Level. Creating an element you don't care about how JBox2D works. you just set the shape, the position, density, friction, the sprites, ecc. @author Antonio Ragagnin
  • railo.runtime.cache.eh.remote.soap.Element
  • simtools.diagram.Element
    Elements are the basic objects that can be created and edited in diagram components. Basically, an element is a shape that can be translated, removed and restored. @author zxpletran007
  • spark.protocol.parser.XMLResultsParser.Element
  • streamer.Element
    Element is basic building block for constructing data processing pipes. It has one or more contact pads, which can be wired with other elements using links.
  • tigase.xml.Element
  • tools.ec.EllipticCurve.Element

  • Examples of Modules.Element

         * @param namePack Nombre del pack.  
         * @param element1 Identificador del mueble.  
         * @param element2 Identificador del item.  
        public void addPack(String namePack, int element1, int element2){
            Element elem = cjtElements.getElement(element1);
            Element newElement = new Element(namePack, elem.getDimension().getX(), elem.getDimension().getY(),
                                            elem.getDimensionMax().getX(), elem.getDimensionMax().getY(),
                                            elem.getDimensionMin().getX(), elem.getDimensionMin().getY(),
                                            true, false, "Pack");
            cjtElements.setPack(element1, element2, (cjtElements.getCount()-1));
    View Full Code Here

    Examples of OntoUML.Element

            if (result == null) result = caseElement(directedRelationship);
            if (result == null) result = defaultCase(theEObject);
            return result;
          case OntoUMLPackage.ELEMENT: {
            Element element = (Element)theEObject;
            T result = caseElement(element);
            if (result == null) result = defaultCase(theEObject);
            return result;
          case OntoUMLPackage.FEATURE: {
    View Full Code Here

    Examples of VisualLogic.Element


        public String toString()
            Element element = vmobject.getElementWithID(elementID);
            ElementProperty elProp=(ElementProperty)element.propertyList.get(propertyIndex);
            return "elementID="+element.toString()+ ", property="+elProp.label;
    View Full Code Here

    Examples of action.chart.Element

      public String execute() {
        title = new Title();
        elements = new LinkedList<Element>();
        Element e = new Element();
        Object[] data = new Object[] {1,2,3,4,5,6,7,8,9,10};
        return Action.SUCCESS;
    View Full Code Here

    Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.Element

          eo = model.eContainer()
        } else {
          eo = model;
        Element target = null;
        Element propertyTarget = (Element) (eo instanceof Element ? eo : null);
        while( eo.eContainer() != null ) {
          if( eo.eContainer() instanceof Element ) {
            target = (Element) eo.eContainer();
    View Full Code Here

    Examples of at.bestsolution.efxclipse.tooling.rrobot.model.bundle.Element

      public static class FXTheme {
        public static Element create_Theme_Element(Extension extension, String themeId, String baseStylesheet) {
          Element el = BundleFactory.eINSTANCE.createElement();
          ExtensionFactory.createAttribute(el, "id",themeId);
          ExtensionFactory.createAttribute(el, "basestylesheet", baseStylesheet);
          return el;
    View Full Code Here

    Examples of au.id.jericho.lib.html.Element

      public String getPath() {
        ArrayList<String> store = new ArrayList<String>() ;
        Element current = element ;
        Element parent = element.getParentElement() ;
        while(parent != null){
          List<Element> childs = parent.getChildElements() ;
          for (int i = 0, findex=0; i < childs.size(); i++) {
            if (childs.get(i).getName().equals(current.getName()) && current == childs.get(i)){
              store.add(current.getName() + "[" + findex + "]") ;
              break ;
            } else if (childs.get(i).getName().equals(current.getName())){
              findex++ ;
          current = parent ;
          parent = parent.getParentElement() ;

        Collections.reverse(store) ;
        return "/" + StringUtil.join((String[])store.toArray(new String[0]), "/") ;
    View Full Code Here

    Examples of beans.enumeration.Element


        private void acceptActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_acceptActionPerformed
            final beans.enumeration.Type sType = (beans.enumeration.Type) type.getSelectedItem();
            final Element sElement = (Element) element.getSelectedItem();
            final int sImpact = Integer.parseInt(impact.getText());
            final Stat sStatRef = (Stat) statRef.getSelectedItem();
            final Stat sStatCible = (Stat) statCible.getSelectedItem();
            final ChangeStatut changeStatut = new ChangeStatut(sType, sElement, sImpact, sStatRef, sStatCible);
    View Full Code Here

    Examples of br.com.objectos.comuns.relational.search.Element


      private ResultSetLoader<?> extractLoader() {
        Collection<Element> els = getElements(ResultSetLoaderElement.class);
        Element el = Iterators.getOnlyElement(els.iterator());
        ResultSetLoaderElement loaderEl = (ResultSetLoaderElement) el;
        return loaderEl.getLoader();
    View Full Code Here

    Examples of ca.odell.glazedlists.impl.adt.barcode2.Element

        protected final Object fetch(int index, boolean recordHitsOrMisses) {

            // attempt to get the element from the cache
            Object value = null;
            Element cacheNode = (Element)indexTree.get(index);

            // The value is cached, return cached value
            if(cacheNode != null) {
                if(recordHitsOrMisses) cacheHits ++;;
                AgedNode agedNode = (AgedNode)cacheNode.get();
                value = agedNode.getValue();
                SparseListNode indexNode = agedNode.getIndexNode();
                indexNode.setValue(cache.addInSortedOrder((byte)1, agedNode, 1));

            // The value is not cached, lookup from source and cache
            } else {
                if(recordHitsOrMisses) cacheMisses++;
                // Make room in the cache if it is full
                if(currentSize >= maxSize) {
                    Element oldestInCache = cache.get(0);
                    AgedNode oldAgedNode = (AgedNode)oldestInCache.get();
                    SparseListNode oldIndexNode = oldAgedNode.getIndexNode();
                    indexTree.set(oldIndexNode.getIndex(), null);

    View Full Code Here
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.