Class WebTextBoxDepictor.CachedDocument

  • Enclosing class:
    WebTextBoxDepictor<C extends TextBox>

    protected static class WebTextBoxDepictor.CachedDocument
    extends java.lang.Object
    Cached information associating a pre-parsed XML document with a string.
    Author:
    Garret Wilson
    • Constructor Summary

      Constructors 
      Constructor Description
      CachedDocument​(java.lang.String text, org.w3c.dom.Document document)
      Text and XML document constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.Document getDocument()  
      java.lang.String getText()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CachedDocument

        public CachedDocument​(java.lang.String text,
                              org.w3c.dom.Document document)
        Text and XML document constructor.
        Parameters:
        text - The text for which there is a cached XML document.
        document - The cached XML document.
    • Method Detail

      • getText

        public java.lang.String getText()
        Returns:
        The text for which there is a cached XML document.
      • getDocument

        public org.w3c.dom.Document getDocument()
        Returns:
        The cached XML document.