Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

iiuf.xmillum
Class ElementTagger  view ElementTagger download ElementTagger.java

java.lang.Object
  extended byiiuf.xmillum.ElementTagger

public class ElementTagger
extends java.lang.Object

ElementTagger This object associates a tag to every element of a given DOM structure and allows direct access to these elements by their tag. In addition, the tag is put as an attribute of the "tmp" namespace into the element in question.

Version:
$Revision: 1.1 $

Field Summary
protected  java.util.ArrayList tagged
           
protected  java.lang.String tagName
           
protected  int tagValue
           
 
Constructor Summary
ElementTagger(org.w3c.dom.Element element, java.lang.String tag)
           
 
Method Summary
 org.w3c.dom.Element getElementWithTag(int tag)
           
 org.w3c.dom.Element getElementWithTag(java.lang.String tag)
           
 org.w3c.dom.Element getReferencedElement(org.w3c.dom.Element e)
           
protected  void tagElements(org.w3c.dom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tagName

protected java.lang.String tagName

tagValue

protected int tagValue

tagged

protected java.util.ArrayList tagged
Constructor Detail

ElementTagger

public ElementTagger(org.w3c.dom.Element element,
                     java.lang.String tag)
Method Detail

getReferencedElement

public org.w3c.dom.Element getReferencedElement(org.w3c.dom.Element e)

getElementWithTag

public org.w3c.dom.Element getElementWithTag(java.lang.String tag)

getElementWithTag

public org.w3c.dom.Element getElementWithTag(int tag)

tagElements

protected void tagElements(org.w3c.dom.Element element)