|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xslt.Transformation
jd.xml.xslt.IdentityTransformation
IdentityTransformation copies the source to the the result without modifications (except changes caused by the OutputFormat).
Constructor Summary | |
IdentityTransformation()
Create a IdentityTransformation. |
Method Summary | |
void |
clearParameters()
Does nothing. |
NodeNamePool |
getNodeNamePool()
Return null. |
OutputFormat |
getOutputFormat()
Return the OutputFormat. |
void |
setEntityResolver(EntityResolver entityResolver)
Set a EntityResolver. |
void |
setMessageListener(MessageListener messageListener)
Set a MessageListener. |
boolean |
setParameter(String name,
Object value)
Does nothing. |
void |
setSecurityManager(XsltSecurityManager securityManager)
Set the SecurityManager. |
void |
setTrace(boolean trace)
Do nothing. |
void |
setUriResolver(UriResolver uriResolver)
Set a UriResolver. |
void |
setValidate(boolean validate)
Set if xml documents should be validated. |
void |
setVerboseLog(VerboseLog log)
Set the verbose log. |
void |
setWarningLevel(int warningLevel)
Do nothing. |
void |
transform(XmlSource source,
XsltResult result,
int repeat)
Transform the source to the result. |
Methods inherited from class jd.xml.xslt.Transformation |
setVerbose, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IdentityTransformation() throws SAXException
Method Detail |
public void transform(XmlSource source, XsltResult result, int repeat) throws IOException, SAXException, XsltException
transform
in class Transformation
source
- the transformation sourceresult
- the transformation resultrepeat
- repeat the transformation n times. A repeat value greater
1 is used for timing purpose and may not be supported
by the transformation
IOException
- if an I/O error occurrs
SAXException
- if the source document cannot be parsed
XsltException
- if a transformation error occurrspublic void setWarningLevel(int warningLevel)
setWarningLevel
in class Transformation
public void setValidate(boolean validate)
setValidate
in class Transformation
public void setTrace(boolean trace)
setTrace
in class Transformation
public boolean setParameter(String name, Object value)
setParameter
in class Transformation
name
- the parameter namevalue
- the parameter value
public void clearParameters()
clearParameters
in class Transformation
public void setUriResolver(UriResolver uriResolver)
setUriResolver
in class Transformation
public void setMessageListener(MessageListener messageListener)
setMessageListener
in class Transformation
public void setEntityResolver(EntityResolver entityResolver)
setEntityResolver
in class Transformation
public OutputFormat getOutputFormat()
getOutputFormat
in class Transformation
public void setSecurityManager(XsltSecurityManager securityManager)
setSecurityManager
in class Transformation
public NodeNamePool getNodeNamePool()
getNodeNamePool
in class Transformation
public void setVerboseLog(VerboseLog log)
setVerboseLog
in class Transformation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |