JFCML - JFC/Swing
XML Markup Language

com.metasolutions.jfcml.helpers
Class Element

java.lang.Object
  extended by com.metasolutions.jfcml.helpers.Element
All Implemented Interfaces:
Serializable

public class Element
extends Object
implements Serializable

A data structure representing an XML element.

Version:
0.9 May 28, 2005
Author:
Shawn Curry
See Also:
Serialized Form

Field Summary
 AttributesImpl attr
          The XML attributes associated with this element.
 int hash
          A hashcode computed from the qualified name of this element.
 Object obj
          If a Java Object is created for this element, it will be placed here.
 String qName
          The qualified name of this xml element tag.
 
Constructor Summary
Element(String qName, int hash, AttributesImpl attr, Object obj)
          A basic constructor to ease capturing the data.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hash

public int hash
A hashcode computed from the qualified name of this element.


attr

public AttributesImpl attr
The XML attributes associated with this element.


obj

public Object obj
If a Java Object is created for this element, it will be placed here.


qName

public String qName
The qualified name of this xml element tag.

Constructor Detail

Element

public Element(String qName,
               int hash,
               AttributesImpl attr,
               Object obj)
A basic constructor to ease capturing the data.

Parameters:
hash - a cached hashCode of the qualified name of this element tag.
attr - the attributes captured from startElement.
obj - a receiver for the Object to be created in the constructor.
See Also:
AttributesImpl, DefaultHandler, TagHandler

SourceForge.net
java.net

Copyright 2004-2005 Shawn Curry, http://jfcml.sourceforge.net
Licensed under the Academic Free License version 2.1