public static interface

XMLContentSpec.Provider

org.apache.xerces.impl.dtd.XMLContentSpec.Provider

Class Overview

Provides a means for walking the structure built out of content spec "nodes". The user of this provider interface is responsible for knowing what the content spec node values "mean". If those values refer to content spec identifiers, then the user can call back into the provider to get the next content spec node in the structure.

Summary

Public Methods
abstract boolean getContentSpec(int contentSpecIndex, XMLContentSpec contentSpec)
Fills in the provided content spec structure with content spec information for a unique identifier.

Public Methods

public abstract boolean getContentSpec (int contentSpecIndex, XMLContentSpec contentSpec)

Fills in the provided content spec structure with content spec information for a unique identifier.

Parameters
contentSpecIndex The content spec identifier. All content spec "nodes" have a unique identifier.
contentSpec The content spec struct to fill in with the information.
Returns
  • Returns true if the contentSpecIndex was found.