PSVIProviderpublic interface PSVIProvider This interface provides access to the post schema validation infoset for an
API that provides streaming document infoset, such as SAX, XNI, and
others.
For implementations that would like to provide access to the PSVI in a
streaming model, a parser object should also implement
PSVIProvider interface. Within the scope of the methods
handling the start and end of an element, applications may use the
PSVIProvider to retrieve the PSVI related to that element
and its attributes.
The interface may be updated or replaced. |
Methods Summary |
---|
public com.sun.org.apache.xerces.internal.xni.psvi.AttributePSVI | getAttributePSVI(int index)Provides AttributePSVI given the index of an attribute
information item in the current element's attribute list. The method
must be called by an application while in the scope of a document
handler startElement call.
| public com.sun.org.apache.xerces.internal.xni.psvi.AttributePSVI | getAttributePSVIByName(java.lang.String uri, java.lang.String localname)Provides AttributePSVI given namespace and localname of an
attribute information item in the current element's attribute list.
The method must be called by an application while in the scope of a
document handler startElement call.
| public com.sun.org.apache.xerces.internal.xni.psvi.ElementPSVI | getElementPSVI()Provides the post schema validation item for the current element
information item. The method must be called by an application while
in the scope of a document handler start/end element calls. If this
methods is called from other document handler methods, the return
value is undefined.
|
|