FileDocCategorySizeDatePackage
ProxyTextNodeAdapter.javaAPI DocExample3150Mon Jul 23 13:26:44 BST 2007org.apache.struts2.views.xslt

ProxyTextNodeAdapter

public class ProxyTextNodeAdapter extends ProxyNodeAdapter implements Text
ProxyTextNodeAdapter is a pass-through adapter for objects which already implement the Text interface. All methods are proxied to the underlying Node except getParent(), getNextSibling() and getPreviousSibling(), which are implemented by the abstract adapter node to work with the parent adapter.

Fields Summary
Constructors Summary
public ProxyTextNodeAdapter(AdapterFactory factory, AdapterNode parent, Text value)

        super(factory, parent, value);
    
Methods Summary
public voidappendData(java.lang.String arg)

        throw new UnsupportedOperationException();
    
public voiddeleteData(int offset, int count)

        throw new UnsupportedOperationException();
    
public java.lang.StringgetData()

        return text().getData();
    
public intgetLength()

        return text().getLength();
    
public java.lang.StringgetWholeText()

        throw operationNotSupported();
    
public voidinsertData(int offset, java.lang.String arg)

        throw new UnsupportedOperationException();
    
public booleanisElementContentWhitespace()

        throw operationNotSupported();
    
public voidreplaceData(int offset, int count, java.lang.String arg)

        throw new UnsupportedOperationException();
    
public org.w3c.dom.TextreplaceWholeText(java.lang.String string)

        throw operationNotSupported();
    
public voidsetData(java.lang.String data)

        throw new UnsupportedOperationException();
    
public org.w3c.dom.TextsplitText(int offset)

        throw new UnsupportedOperationException();
    
public java.lang.StringsubstringData(int offset, int count)

        return text().substringData(offset, count);
    
org.w3c.dom.Texttext()

        return (Text) getPropertyValue();
    
public java.lang.StringtoString()

        return "ProxyTextNode for: " + text();