Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thaiopensource.relaxng.impl
Class IdSoundnessChecker

    java.lang.Object
      com.thaiopensource.relaxng.impl.IdSoundnessChecker

All Implemented Interfaces:
  org.xml.sax.ContentHandler, Validator

Direct Known Subclasses:
  FeasibleIdSoundnessChecker

public class IdSoundnessChecker
extends java.lang.Object
implements Validator, org.xml.sax.ContentHandler

Constructor Summary
`IdSoundnessChecker(IdTypeMap idTypeMap, org.xml.sax.ErrorHandler eh)`

Method Summary
`void` | `characters(char[] chars, int i, int i1)`
`void` | `endDocument()`
`void` | `endElement(java.lang.String s, java.lang.String s1, java.lang.String s2)`
`void` | `endPrefixMapping(java.lang.String s)`
`org.xml.sax.ContentHandler` | `getContentHandler()` Returns the ContentHandler that will receive the XML document.
`org.xml.sax.DTDHandler` | `getDTDHandler()` Returns a DTDHandler.
`void` | `ignorableWhitespace(char[] chars, int i, int i1)`
`void` | `notationDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)`
`void` | `processingInstruction(java.lang.String s, java.lang.String s1)`
`void` | `reset()` Cleans up after validating a document.
`void` | `setDocumentLocator(org.xml.sax.Locator locator)`
`void` | `skippedEntity(java.lang.String s)`
`void` | `startDocument()`
`void` | `startElement(java.lang.String namespaceUri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)`
`void` | `startPrefixMapping(java.lang.String s, java.lang.String s1)`
`void` | `unparsedEntityDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId, java.lang.String notationName)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### IdSoundnessChecker

    public IdSoundnessChecker(IdTypeMap idTypeMap,
                              org.xml.sax.ErrorHandler eh)

Method Detail

### reset

    public void reset()

  Description copied from interface: `Validator`
  Cleans up after validating a document. After completing validation of a document, `reset` must be called. After calling reset(), another document may be validated. Calling this method may create new ContentHandler and DTDHandler objects or may simply reinitialize the state of the existing objects.

  Specified by:
    `reset` in interface `Validator`

### getContentHandler

    public org.xml.sax.ContentHandler getContentHandler()

  Description copied from interface: `Validator`
  Returns the ContentHandler that will receive the XML document. Information about the XML document to be validated must be reported by calling methods on the returned ContentHandler. When validation of an XML document has been completed (either endDocument() has been called or validation has been abandoned prematurely), reset() must be called. If no calls are made on the ContentHandler, then reset() need not be called. Implementations should allocate resources that require cleanup (e.g. threads, open files) lazily, typically in startDocument(). This method does not change the state of the Validator: the same object will always be returned unless `reset` is called.

  Specified by:
    `getContentHandler` in interface `Validator`
  Returns:
    a ContentHandler, never `null`
  See Also:
    `Validator.reset()`

### getDTDHandler

    public org.xml.sax.DTDHandler getDTDHandler()

  Description copied from interface: `Validator`
  Returns a DTDHandler. Information about the DTD must be reported by calling methods on the returned object, unless `null` is returned. The same object will always be returned unless `reset` is called: this method does not change the state of the Validator.

  Specified by:
    `getDTDHandler` in interface `Validator`
  Returns:
    a DTDHandler, maybe `null` if DTD information is not significant to the `Validator`

### setDocumentLocator

    public void setDocumentLocator(org.xml.sax.Locator locator)

  Specified by:
    `setDocumentLocator` in interface `org.xml.sax.ContentHandler`

### startDocument

    public void startDocument()
                       throws org.xml.sax.SAXException

  Specified by:
    `startDocument` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### endDocument

    public void endDocument()
                     throws org.xml.sax.SAXException

  Specified by:
    `endDocument` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### startPrefixMapping

    public void startPrefixMapping(java.lang.String s,
                                   java.lang.String s1)
                            throws org.xml.sax.SAXException

  Specified by:
    `startPrefixMapping` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### endPrefixMapping

    public void endPrefixMapping(java.lang.String s)
                          throws org.xml.sax.SAXException

  Specified by:
    `endPrefixMapping` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### startElement

    public void startElement(java.lang.String namespaceUri,
                             java.lang.String localName,
                             java.lang.String qName,
                             org.xml.sax.Attributes attributes)
                      throws org.xml.sax.SAXException

  Specified by:
    `startElement` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### endElement

    public void endElement(java.lang.String s,
                           java.lang.String s1,
                           java.lang.String s2)
                    throws org.xml.sax.SAXException

  Specified by:
    `endElement` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### characters

    public void characters(char[] chars,
                           int i,
                           int i1)
                    throws org.xml.sax.SAXException

  Specified by:
    `characters` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### ignorableWhitespace

    public void ignorableWhitespace(char[] chars,
                                    int i,
                                    int i1)
                             throws org.xml.sax.SAXException

  Specified by:
    `ignorableWhitespace` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### processingInstruction

    public void processingInstruction(java.lang.String s,
                                      java.lang.String s1)
                               throws org.xml.sax.SAXException

  Specified by:
    `processingInstruction` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### skippedEntity

    public void skippedEntity(java.lang.String s)
                       throws org.xml.sax.SAXException

  Specified by:
    `skippedEntity` in interface `org.xml.sax.ContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### notationDecl

    public void notationDecl(java.lang.String name,
                             java.lang.String publicId,
                             java.lang.String systemId)
                      throws org.xml.sax.SAXException

  Throws:
    `org.xml.sax.SAXException`

### unparsedEntityDecl

    public void unparsedEntityDecl(java.lang.String name,
                                   java.lang.String publicId,
                                   java.lang.String systemId,
                                   java.lang.String notationName)
                            throws org.xml.sax.SAXException

  Throws:
    `org.xml.sax.SAXException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright SyncRO Soft SRL 2006-2007.