Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 6.0sp2 API Reference

## weblogic.apache.xerces.validators.common
Interface GrammarResolver

All Known Implementing Classes:
  GrammarResolverImpl

public interface GrammarResolver

This class embodies the representation of a Grammar pool Resolver. This class is called from the validator.

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.

Author:
  Jeffrey Rodriguez
  Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
`void` | `clearGrammarResolver()` Reset internal Namespace/Grammar registry.
`boolean` | `contains(Grammar grammar)` Is Grammar abstraction in Grammar pool?
`boolean` | `containsNameSpace(java.lang.String nameSpaceKey)` Is Namespace key in Grammar pool
`Grammar` | `getGrammar(java.lang.String nameSpaceKey)`
`java.util.Enumeration` | `nameSpaceKeys()`
`void` | `putGrammar(java.lang.String nameSpaceKey, Grammar grammar)`
`Grammar` | `removeGrammar(java.lang.String nameSpaceKey)` Removes association of Namespace key and Grammar from Grammar pool
`int` | `size()`

Method Detail

### getGrammar

    public Grammar getGrammar(java.lang.String nameSpaceKey)

  Parameters:
    `nameSpaceKey` - Namespace key into Grammar pool
  Returns:
    Grammar abstraction associated with NameSpace key.

### nameSpaceKeys

    public java.util.Enumeration nameSpaceKeys()

  Returns:
    Enumeration of String key name spaces in Grammar pool

### putGrammar

    public void putGrammar(java.lang.String nameSpaceKey,
                           Grammar grammar)

  Parameters:
    `nameSpaceKey` - Key to associate with Grammar abstraction
    `grammar` - Grammar abstraction used by validator.

### removeGrammar

    public Grammar removeGrammar(java.lang.String nameSpaceKey)

  Removes association of Namespace key and Grammar from Grammar pool

  Parameters:
    `nameSpaceKey` - Name space key

### contains

    public boolean contains(Grammar grammar)

  Is Grammar abstraction in Grammar pool?

  Parameters:
    `grammar` - Grammar Abstraction
  Returns:
    true - Yes there is at least one instance false - No

### containsNameSpace

    public boolean containsNameSpace(java.lang.String nameSpaceKey)

  Is Namespace key in Grammar pool

  Parameters:
    `nameSpaceKey` - Namespace key
  Returns:
    Boolean- true - Namespace key association is in grammar pool.

### clearGrammarResolver

    public void clearGrammarResolver()

  Reset internal Namespace/Grammar registry.

### size

    public int size()

  Returns:
    Length of grammar pool. Number of associations.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs60
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD