Code example for Text

Methods: getData

0
        return null; 
    } 
 
 
    public static Node importNode( DocumentImpl document, Text text ) {
        return document.createTextNode( text.getData() );
    } 
 
 
    void appendContents( StringBuffer sb ) {
        sb.append( getData() );
    } 
 
//------------------------------------- DOM level 3 methods ------------------------------------------------------------ 
 
    public boolean isElementContentWhitespace() { 
        return false;  //To change body of implemented methods use File | Settings | File Templates. 
    } 
 
    public String getWholeText() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.