net.sf.cantina.decorator
Class EscapeXmlDecorator

java.lang.Object
  extended bynet.sf.cantina.decorator.DocumentDecorator
      extended bynet.sf.cantina.decorator.EscapeXmlDecorator
All Implemented Interfaces:
Document

public class EscapeXmlDecorator
extends DocumentDecorator

Author:
Stephane JAIS

Constructor Summary
EscapeXmlDecorator(Document d)
           
 
Method Summary
 byte[] getContent(java.util.Locale l)
           
 java.lang.String getContentAsString(java.util.Locale l)
           
 
Methods inherited from class net.sf.cantina.decorator.DocumentDecorator
getAvailableLocales, getContentType, getDocument, getDocumentId, getRealm, setContent, setContentAsString, setContentType, setRealm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EscapeXmlDecorator

public EscapeXmlDecorator(Document d)
Method Detail

getContent

public byte[] getContent(java.util.Locale l)
Specified by:
getContent in interface Document
Overrides:
getContent in class DocumentDecorator

getContentAsString

public java.lang.String getContentAsString(java.util.Locale l)
                                    throws java.lang.Exception
Specified by:
getContentAsString in interface Document
Overrides:
getContentAsString in class DocumentDecorator
Throws:
java.lang.Exception


Copyright © 2004 Cantina. All Rights Reserved.