org.w3c.mwi.mobileok.basic
Class PseudoAttributes
java.lang.Object
org.w3c.mwi.mobileok.basic.PseudoAttributes
final class PseudoAttributes
- extends java.lang.Object
Helper class to parse the pseudo-attributes of an XML processing instruction
as real attributes.
This is based on
http://www.cafeconleche.org/books/xmljava/chapters/ch11s08.html
- Version:
- $Revision: 1.1 $
- Author:
- The W3C mobileOK Checker Task Force
Field Summary |
private org.w3c.dom.NamedNodeMap |
pseudo
|
Constructor Summary |
PseudoAttributes(org.w3c.dom.ProcessingInstruction processingInstruction)
|
Method Summary |
(package private) void |
addAttributesTo(org.w3c.dom.Element element)
|
(package private) static org.w3c.dom.Document |
createPseudoDocument()
|
(package private) org.w3c.dom.NamedNodeMap |
getAttributes()
|
(package private) int |
getLength()
|
(package private) java.lang.String |
getValue(java.lang.String name)
|
private org.w3c.dom.Attr |
item(int index)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pseudo
private final org.w3c.dom.NamedNodeMap pseudo
PseudoAttributes
PseudoAttributes(org.w3c.dom.ProcessingInstruction processingInstruction)
throws TestException
- Throws:
TestException
item
private org.w3c.dom.Attr item(int index)
getLength
int getLength()
getValue
java.lang.String getValue(java.lang.String name)
getAttributes
org.w3c.dom.NamedNodeMap getAttributes()
addAttributesTo
void addAttributesTo(org.w3c.dom.Element element)
createPseudoDocument
static org.w3c.dom.Document createPseudoDocument()
throws TestException
- Throws:
TestException