Package nu.validator.htmlparser.xom
Class ModalDocument
- java.lang.Object
-
- nu.xom.Node
-
- nu.xom.ParentNode
-
- nu.xom.Document
-
- nu.validator.htmlparser.xom.ModalDocument
-
-
Constructor Summary
Constructors Constructor Description ModalDocument(nu.xom.Document doc)Copy constructor (Mode-aware).ModalDocument(nu.xom.Element elt)With root.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModegetMode()Gets the mode.voidsetMode(DocumentMode mode)Sets the mode.-
Methods inherited from class nu.xom.Document
copy, getBaseURI, getDocType, getRootElement, getValue, removeChild, removeChild, replaceChild, setBaseURI, setDocType, setRootElement, toString, toXML
-
Methods inherited from class nu.xom.ParentNode
appendChild, getChild, getChildCount, indexOf, insertChild
-
-
-
-
Method Detail
-
getMode
public DocumentMode getMode()
Gets the mode.- Specified by:
getModein interfaceMode- Returns:
- the mode
- See Also:
Mode.getMode()
-
setMode
public void setMode(DocumentMode mode)
Sets the mode.- Specified by:
setModein interfaceMode- Parameters:
mode- the mode to set- See Also:
Mode.setMode(nu.validator.htmlparser.common.DocumentMode)
-
-