jkesselm    01/05/14 13:55:17

  Modified:    java/src/org/apache/xml/dtm/dom2dtm Tag: DTM_EXP
                        DOM2DTM.java
  Log:
  Lurching toward support for the official startup sequence
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.11  +34 -0     
xml-xalan/java/src/org/apache/xml/dtm/dom2dtm/Attic/DOM2DTM.java
  
  Index: DOM2DTM.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/dom2dtm/Attic/DOM2DTM.java,v
  retrieving revision 1.1.2.10
  retrieving revision 1.1.2.11
  diff -u -r1.1.2.10 -r1.1.2.11
  --- DOM2DTM.java      2001/05/14 05:19:11     1.1.2.10
  +++ DOM2DTM.java      2001/05/14 20:55:12     1.1.2.11
  @@ -1088,6 +1088,40 @@
       return false;
     }
   
  +  /** Bind a CoroutineParser to this DTM. NOT RELEVANT for DOM2DTM, since
  +   * we're wrapped around an existing DOM.
  +   *
  +   * @param coroutineParser The parser that we want to recieve events from
  +   * on demand.
  +   */
  +  public void setCoroutineParser(CoroutineParser coroutineParser)
  +  {
  +  }
  +  
  +  /** getContentHandler returns "our SAX builder" -- the thing that
  +   * someone else should send SAX events to in order to extend this
  +   * DTM model.
  +   *
  +   * @return null if this model doesn't respond to SAX events,
  +   * "this" if the DTM object has a built-in SAX ContentHandler,
  +   * the CoroutineParser if we're bound to one and should receive
  +   * the SAX stream via it for incremental build purposes...
  +   * */
  +  public org.xml.sax.ContentHandler getContentHandler()
  +  {
  +      return null;
  +  }
  +
  +  /** @return true iff we're building this model incrementally (eg
  +   * we're partnered with a CoroutineParser) and thus require that the
  +   * transformation and the parse run simultaneously. Guidance to the
  +   * DTMManager.
  +   * */
  +  public boolean needsTwoThreads()
  +  {
  +    return false;
  +  }
  +
     // ========== Direct SAX Dispatch, for optimization purposes ========
   
     /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to