org.globus.ogsa.impl.security.descriptor.util
Class ElementParser
java.lang.Object
org.globus.ogsa.impl.security.descriptor.util.ElementParser
- All Implemented Interfaces:
- ElementHandler
- Direct Known Subclasses:
- GSIAuthMethodParserImpl, GSISecureMsgParserImpl, MethodParser, SecurityDescriptor
- public class ElementParser
- extends java.lang.Object
- implements ElementHandler
Constructor Summary |
ElementParser(javax.xml.namespace.QName elemName)
|
Method Summary |
static void |
checkElement(org.w3c.dom.Element configElement,
javax.xml.namespace.QName expectedName)
|
static org.w3c.dom.Node |
getFirstChildElement(org.w3c.dom.Node elem)
|
static javax.xml.namespace.QName |
getQName(org.w3c.dom.Node node)
|
void |
parse(org.w3c.dom.Element configElement)
|
void |
register(javax.xml.namespace.QName name,
ElementHandler handler)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementHandlers
protected java.util.Map elementHandlers
ElementParser
public ElementParser(javax.xml.namespace.QName elemName)
register
public void register(javax.xml.namespace.QName name,
ElementHandler handler)
parse
public void parse(org.w3c.dom.Element configElement)
throws ElementParserException
- Specified by:
parse
in interface ElementHandler
- Throws:
ElementParserException
getQName
public static javax.xml.namespace.QName getQName(org.w3c.dom.Node node)
checkElement
public static void checkElement(org.w3c.dom.Element configElement,
javax.xml.namespace.QName expectedName)
throws ElementParserException
- Throws:
ElementParserException
getFirstChildElement
public static org.w3c.dom.Node getFirstChildElement(org.w3c.dom.Node elem)
Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.