nu.validator.htmlparser.xom
Class FormPtrElement

java.lang.Object
  extended by nu.xom.Node
      extended by nu.xom.ParentNode
          extended by nu.xom.Element
              extended by nu.validator.htmlparser.xom.FormPtrElement
All Implemented Interfaces:
FormPointer

public class FormPtrElement
extends nu.xom.Element
implements FormPointer

Element with an associated form.

Version:
$Id$
Author:
hsivonen

Constructor Summary
FormPtrElement(nu.xom.Element elt)
          Copy constructor (FormPointer-aware).
FormPtrElement(java.lang.String name, java.lang.String uri)
          Null form.
FormPtrElement(java.lang.String name, java.lang.String uri, nu.xom.Element form)
          Full constructor.
 
Method Summary
 nu.xom.Element getForm()
          Gets the form.
 void setForm(nu.xom.Element form)
          Sets the form.
 
Methods inherited from class nu.xom.Element
addAttribute, addNamespaceDeclaration, appendChild, copy, getAttribute, getAttribute, getAttribute, getAttributeCount, getAttributeValue, getAttributeValue, getBaseURI, getChildElements, getChildElements, getChildElements, getFirstChildElement, getFirstChildElement, getLocalName, getNamespaceDeclarationCount, getNamespacePrefix, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getQualifiedName, getValue, insertChild, removeAttribute, removeChildren, removeNamespaceDeclaration, setBaseURI, setLocalName, setNamespacePrefix, setNamespaceURI, shallowCopy, toString, toXML
 
Methods inherited from class nu.xom.ParentNode
appendChild, getChild, getChildCount, indexOf, insertChild, removeChild, removeChild, replaceChild
 
Methods inherited from class nu.xom.Node
detach, equals, getDocument, getParent, hashCode, query, query
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormPtrElement

public FormPtrElement(nu.xom.Element elt)
Copy constructor (FormPointer-aware).

Parameters:
elt -

FormPtrElement

public FormPtrElement(java.lang.String name,
                      java.lang.String uri)
Null form.

Parameters:
name -
uri -

FormPtrElement

public FormPtrElement(java.lang.String name,
                      java.lang.String uri,
                      nu.xom.Element form)
Full constructor.

Parameters:
name -
uri -
form -
Method Detail

getForm

public nu.xom.Element getForm()
Gets the form.

Specified by:
getForm in interface FormPointer
Returns:
the form
See Also:
FormPointer.getForm()

setForm

public void setForm(nu.xom.Element form)
Sets the form.

Specified by:
setForm in interface FormPointer
Parameters:
form - the form to set
See Also:
FormPointer.setForm(nu.xom.Element)