Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.javatools.xml.esax
Interface ElementStartContext

All Superinterfaces:
ElementContext
All Known Implementing Classes:
DefaultElementContext

public interface ElementStartContext
extends ElementContext

The context is used to store state information used while parsing an XML source. This interface defines the access ElementHandlers have to the context during the handleStart method.

See Also:
ElementContext, ElementEndContext

Method Summary
 java.util.Iterator getAttributeNames()
          Iterates over the collection of attribute names for the element in context.
 java.lang.String getAttributeValue(java.lang.String attributeName)
          Get the value of an attribute for the element in context.

 

Methods inherited from interface oracle.javatools.xml.esax.ElementContext
getLocalName, getLocator, getMessageReporter, getNamespaceURI, getParentLocalName, getValue, putValue, registerChildHandler, registerScopeHandler, registerScopeHandler, registerScopeHandlerFactory, removeValue, setMessageReporter

 

Method Detail

getAttributeValue

java.lang.String getAttributeValue(java.lang.String attributeName)
Get the value of an attribute for the element in context.
Parameters:
attributeName - the local name of an XML attribute, must not be null.
Returns:
the value of the specified attribute, or null if not present.

getAttributeNames

java.util.Iterator getAttributeNames()
Iterates over the collection of attribute names for the element in context.
Returns:
a java.util.Iterator of all attribute names.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.