Liferay 7.0-ce-b4

com.liferay.portal.xsl
Class XSLTemplateResource

java.lang.Object
  extended by com.liferay.portal.xsl.XSLTemplateResource
All Implemented Interfaces:
TemplateResource, Externalizable, Serializable

public class XSLTemplateResource
extends Object
implements TemplateResource

See Also:
Serialized Form

Constructor Summary
XSLTemplateResource()
          The empty constructor is required by Externalizable.
XSLTemplateResource(String templateId, String xsl, XSLURIResolver xslURIResolver, String xml)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getLastModified()
           
 Reader getReader()
           
 String getTemplateId()
           
 Reader getXMLReader()
           
 XSLURIResolver getXSLURIResolver()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLTemplateResource

public XSLTemplateResource()
The empty constructor is required by Externalizable. Do not use this for any other purpose.


XSLTemplateResource

public XSLTemplateResource(String templateId,
                           String xsl,
                           XSLURIResolver xslURIResolver,
                           String xml)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface TemplateResource

getReader

public Reader getReader()
Specified by:
getReader in interface TemplateResource

getTemplateId

public String getTemplateId()
Specified by:
getTemplateId in interface TemplateResource

getXMLReader

public Reader getXMLReader()

getXSLURIResolver

public XSLURIResolver getXSLURIResolver()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

readExternal

public void readExternal(ObjectInput objectInput)
                  throws ClassNotFoundException,
                         IOException
Specified by:
readExternal in interface Externalizable
Throws:
ClassNotFoundException
IOException

writeExternal

public void writeExternal(ObjectOutput objectOutput)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

Liferay 7.0-ce-b4