Java 8 DTDHandler - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 DTDHandler class.

This code example shows how to use the following methods: unparsedEntityDecl
    public void unparsedEntityDecl (String name, String publicId,
    String systemId, String notationName)
    throws SAXException 
    { 
        if (dtdHandler != null) {
            dtdHandler.unparsedEntityDecl(name, publicId, systemId,
            notationName);
        } 
    } 
     
     
     
    //////////////////////////////////////////////////////////////////// 
    // Implementation of org.xml.sax.ContentHandler. 
    //////////////////////////////////////////////////////////////////// 
     
     
    /** 
     * Assigns the document locator. 
     * 
Full Snippet Info
2
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: notationDecl
     */ 
    public void notationDecl (String name, String publicId, String systemId)
    throws SAXException 
    { 
        if (dtdHandler != null) {
            dtdHandler.notationDecl(name, publicId, systemId);
        } 
    } 
     
     
    /** 
     * Add unparsed entity declaration. 
     * 
     * @param name The entity name. 
     * @param publicId The entity's public identifier, or null. 
     * @param systemId The entity's system identifier, or null. 
     * @param notationName The name of the associated notation. 
     * @exception org.xml.sax.SAXException The client may throw 
     *            an exception during processing. 
     * @see org.xml.sax.DTDHandler#unparsedEntityDecl 
Full Snippet Info
2
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: notationDecl
    } 
 
    /*package*/ void notationDecl(String name, String publicId, String systemId) throws SAXException {
        DTDHandler dtdHandler = xmlReader.dtdHandler;
        if (dtdHandler != null) {
            dtdHandler.notationDecl(name, publicId, systemId);
        } 
    } 
 
    /*package*/ void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException {
        DTDHandler dtdHandler = xmlReader.dtdHandler;
        if (dtdHandler != null) {
            dtdHandler.unparsedEntityDecl(name, publicId, systemId, notationName);
        } 
    } 
 
    /** 
     * Handles an external entity. 
     * 
     * @param context to be passed back to Expat when we parse the entity 
Full Snippet Info
3
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: unparsedEntityDecl
          String name, String publicId, String systemId, String notationName)
            throws SAXException 
  { 
 
    if (null != m_resultDTDHandler)
      m_resultDTDHandler.unparsedEntityDecl(name, publicId, systemId,
                                            notationName);
  } 
 
  //////////////////////////////////////////////////////////////////// 
  // Default implementation of ContentHandler interface. 
  //////////////////////////////////////////////////////////////////// 
 
  /** 
   * Receive a Locator object for document events. 
   * 
   * <p>By default, do nothing.  Application writers may override this 
   * method in a subclass if they wish to store the locator for use 
   * with other document events.</p> 
   * 
Full Snippet Info
3
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: notationDecl
     */ 
    public void notationDecl(String name, String publicId, String systemId) 
	throws SAXException 
    { 
        if (_dtdHandler != null) {
	    _dtdHandler.notationDecl(name, publicId, systemId);
        } 
    } 
 
    /** 
     * Implements org.xml.sax.ext.DeclHandler.attributeDecl() 
     */ 
    public void attributeDecl(String eName, String aName, String type, 
	String valueDefault, String value) throws SAXException 
    { 
        if (_declHandler != null) {
	    _declHandler.attributeDecl(eName, aName, type, valueDefault, value);
        } 
    } 
 
Full Snippet Info
3
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
See Code Examples for Java 8 DTDHandler Methods: