You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@apache.org on 2001/07/30 10:48:50 UTC

cvs commit: xml-xerces/java/docs xni-api.xml

andyc       01/07/30 01:48:50

  Modified:    java/docs Tag: xerces_j_2 xni-api.xml
  Log:
  Minor docs update.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +43 -42    xml-xerces/java/docs/Attic/xni-api.xml
  
  Index: xni-api.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/docs/Attic/xni-api.xml,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- xni-api.xml	2001/07/30 08:21:56	1.1.2.3
  +++ xni-api.xml	2001/07/30 08:48:49	1.1.2.4
  @@ -22,7 +22,7 @@
       <link anchor='pass-through-filter'>Pass-Through Document 
       Handler Filter</link>
      </li>
  -   <li><link anchor=''></link></li>
  +   <li><link anchor='upper-case-filter'>Upper-Case Filter</link></li>
     </ul>
     <p>
      For information regarding the parser configuration framework, 
  @@ -1158,71 +1158,71 @@
       public void startDocument(<link anchor='locator'>XMLLocator</link> locator, String encoding)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.startDocument(locator, encoding);
  -	}
  +            fDocumentHandler.startDocument(locator, encoding);
  +        }
       }
       
       public void xmlDecl(String version, String encoding, 
                           String standalone) throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.xmlDecl(version, encoding, standalone);
  -	}
  +            fDocumentHandler.xmlDecl(version, encoding, standalone);
  +        }
       }
       
       public void doctypeDecl(String rootElement, String publicId, 
                               String systemId) throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.doctypeDecl(rootElement, publicId, systemId);
  -	}
  +            fDocumentHandler.doctypeDecl(rootElement, publicId, systemId);
  +        }
       }
       
       public void comment(<link anchor='string'>XMLString</link> text)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.comment(text);
  -	}
  +            fDocumentHandler.comment(text);
  +        }
       }
       
       public void processingInstruction(String target, <link anchor='string'>XMLString</link> data)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.processingInstruction(target, data);
  -	}
  +            fDocumentHandler.processingInstruction(target, data);
  +        }
       }
       
       public void startPrefixMapping(String prefix, String uri)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.startPrefixMapping(prefix, uri);
  -	}
  +            fDocumentHandler.startPrefixMapping(prefix, uri);
  +        }
       }
       
       public void endPrefixMapping(String prefix)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.endPrefixMapping(prefix);
  -	}
  +            fDocumentHandler.endPrefixMapping(prefix);
  +        }
       }
       
       public void startElement(<link anchor='qname'>QName</link> element, <link anchor='attributes'>XMLAttributes</link> attributes)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.startElement(element, attributes);
  -	}
  +            fDocumentHandler.startElement(element, attributes);
  +        }
       }
       
       public void emptyElement(<link anchor='qname'>QName</link> element, <link anchor='attributes'>XMLAttributes</link> attributes)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.emptyElement(element, attributes);
  -	}
  +            fDocumentHandler.emptyElement(element, attributes);
  +        }
       }
       
       public void endElement(<link anchor='qname'>QName</link> element)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.endElement(element);
  -	}
  +            fDocumentHandler.endElement(element);
  +        }
       }
       
       public void startEntity(String name, 
  @@ -1230,63 +1230,64 @@
                               String baseSystemId, String encoding) 
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.startEntity(name, 
  +            fDocumentHandler.startEntity(name, 
                                            publicId, systemId, 
                                            baseSystemId, encoding);
  -	}
  +        }
       }
       
       public void textDecl(String version, String encoding)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.textDecl(version, encoding);
  -	}
  +            fDocumentHandler.textDecl(version, encoding);
  +        }
       }
       
       public void endEntity(String name)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.endEntity(name);
  -	}
  +            fDocumentHandler.endEntity(name);
  +        }
       }
       
       public void characters(<link anchor='string'>XMLString</link> text)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.characters(text);
  -	}
  +            fDocumentHandler.characters(text);
  +        }
       }
       
       public void ignorableWhitespace(<link anchor='string'>XMLString</link> text)
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.ignorableWhitespace(text);
  -	}
  +            fDocumentHandler.ignorableWhitespace(text);
  +        }
       }
       
       public void startCDATA()
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.startCDATA();
  -	}
  +            fDocumentHandler.startCDATA();
  +        }
       }
       
       public void endCDATA()
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.endCDATA();
  -	}
  +            fDocumentHandler.endCDATA();
  +        }
       }
       
       public void endDocument()
           throws <link anchor='exception'>XNIException</link> {
           if (fDocumentHandler != null) {
  -	    fDocumentHandler.endDocument();
  -	}
  +            fDocumentHandler.endDocument();
  +        }
       }
       
   } // class PassThroughFilter</source>
     </s3>
  +  <anchor name='upper-case-filter'/>
     <s3 title='Upper-Case Filter'>
      <p>
       The following code extends the pass-through document handler
  @@ -1305,19 +1306,19 @@
   
       // XMLDocumentHandler methods
       
  -    public void startElement(<link anchor='qname'>QName</link> element, <link anchor='attributes'>XMLAttributes attributes</link>)
  +    public void startElement(<link anchor='qname'>QName</link> element, <link anchor='attributes'>XMLAttributes</link> attributes)
           throws <link anchor='exception'>XNIException</link> {
  -	super.startElement(toUpperCase(element), attributes);
  +        super.startElement(toUpperCase(element), attributes);
       }
       
  -    public void emptyElement(<link anchor='qname'>QName</link> element, <link anchor='attributes'>XMLAttributes attributes</link>)
  +    public void emptyElement(<link anchor='qname'>QName</link> element, <link anchor='attributes'>XMLAttributes</link> attributes)
           throws <link anchor='exception'>XNIException</link> {
  -	super.emptyElement(toUpperCase(element), attributes);
  +        super.emptyElement(toUpperCase(element), attributes);
       }
       
       public void endElement(<link anchor='qname'>QName</link> element)
           throws <link anchor='exception'>XNIException</link> {
  -	super.endElement(toUpperCase(element));
  +        super.endElement(toUpperCase(element));
       }
       
       // Protected methods
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org