Package gnu.kawa.xml
Class WriteTo
- java.lang.Object
-
- gnu.mapping.PropertySet
-
- gnu.mapping.Procedure
-
- gnu.mapping.Procedure2
-
- gnu.kawa.xml.WriteTo
-
- All Implemented Interfaces:
Named
public class WriteTo extends Procedure2
Write a value to a named file.
-
-
Field Summary
Fields Modifier and Type Field Description static WriteTowriteTostatic WriteTowriteToIfChanged-
Fields inherited from class gnu.mapping.Procedure2
applyToObject
-
Fields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
-
Fields inherited from class gnu.mapping.PropertySet
nameKey
-
-
Constructor Summary
Constructors Constructor Description WriteTo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectapply2(java.lang.Object value, java.lang.Object fileName)static voidwriteTo(java.lang.Object value, gnu.kawa.io.Path ppath, java.io.OutputStream outs)static voidwriteTo(java.lang.Object value, java.lang.Object path)static voidwriteToIfChanged(java.lang.Object value, java.lang.Object path)-
Methods inherited from class gnu.mapping.Procedure2
apply0, apply1, apply3, apply4, applyN, applyToObject, numArgs
-
Methods inherited from class gnu.mapping.Procedure
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
-
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
-
-
-
Method Detail
-
writeTo
public static void writeTo(java.lang.Object value, gnu.kawa.io.Path ppath, java.io.OutputStream outs) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
writeTo
public static void writeTo(java.lang.Object value, java.lang.Object path) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
writeToIfChanged
public static void writeToIfChanged(java.lang.Object value, java.lang.Object path) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
apply2
public java.lang.Object apply2(java.lang.Object value, java.lang.Object fileName) throws java.lang.Throwable- Specified by:
apply2in classProcedure2- Throws:
java.lang.Throwable
-
-