|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Writable | |
---|---|
groovy.lang | Core Groovy language classes for implementing data structures, closures, metadata and so forth. |
groovy.text | Contains the text processing utilities including templating APIs and default implementations. |
groovy.util.slurpersupport | Helper classes for XmlSlurper. |
groovy.xml | Groovy markup builder classes for working with SAX and W3C DOM and Groovy markup. |
org.codehaus.groovy.runtime | Runtime classes for Groovy - whether the dynamic interpreter is being used, the compiler or the bytecode generator. |
Uses of Writable in groovy.lang |
---|
Classes in groovy.lang that implement Writable | |
---|---|
private class |
Closure.WritableClosure
Implementation note: This has to be an inner class! Reason: Closure.this.call will call the outer call method, but with the inner class as executing object. |
class |
GString
Represents a String which contains embedded values such as "hello there ${user} how are you?" which can be evaluated lazily. |
Uses of Writable in groovy.text |
---|
Classes in groovy.text that implement Writable | |
---|---|
private static class |
XmlTemplateEngine.XmlWritable
|
Methods in groovy.text that return Writable | |
---|---|
Writable |
SimpleTemplateEngine.SimpleTemplate.make()
|
Writable |
GStringTemplateEngine.GStringTemplate.make()
|
Writable |
XmlTemplateEngine.XmlTemplate.make()
|
Writable |
Template.make()
|
Writable |
SimpleTemplateEngine.SimpleTemplate.make(java.util.Map map)
|
Writable |
GStringTemplateEngine.GStringTemplate.make(java.util.Map map)
|
Writable |
XmlTemplateEngine.XmlTemplate.make(java.util.Map map)
|
Writable |
Template.make(java.util.Map binding)
|
Uses of Writable in groovy.util.slurpersupport |
---|
Classes in groovy.util.slurpersupport that implement Writable | |
---|---|
class |
Attribute
|
(package private) class |
Attributes
|
class |
FilteredAttributes
Lazy evaluated representation of nodes filtered by attributes. |
class |
FilteredNodeChildren
|
class |
GPathResult
|
class |
NoChildren
|
class |
Node
|
class |
NodeChild
|
(package private) class |
NodeChildren
|
class |
ReplacementNode
|
Uses of Writable in groovy.xml |
---|
Methods in groovy.xml with parameters of type Writable | |
---|---|
private static java.lang.String |
XmlUtil.asString(Writable writable)
|
static java.lang.String |
XmlUtil.serialize(Writable writable)
Return a pretty String version of the XML content produced by the Writable. |
static void |
XmlUtil.serialize(Writable writable,
java.io.OutputStream os)
Write a pretty version of the XML content produced by the Writable to the OutputStream. |
Uses of Writable in org.codehaus.groovy.runtime |
---|
Classes in org.codehaus.groovy.runtime that implement Writable | |
---|---|
class |
GStringImpl
Default implementation of a GString used by the compiler. |
class |
WritableFile
A Writable File. |
Methods in org.codehaus.groovy.runtime that return Writable | |
---|---|
static Writable |
DefaultGroovyMethods.encodeBase64(byte[] data)
Produce a Writable object which writes the Base64 encoding of the byte array. |
static Writable |
DefaultGroovyMethods.encodeBase64(java.lang.Byte[] data)
Produce a Writable object which writes the Base64 encoding of the byte array. |
static Writable |
DefaultGroovyMethods.encodeBase64(byte[] data,
boolean chunked)
Produce a Writable object which writes the Base64 encoding of the byte array. |
static Writable |
DefaultGroovyMethods.encodeBase64(java.lang.Byte[] data,
boolean chunked)
Produce a Writable object which writes the Base64 encoding of the byte array. |
static Writable |
DefaultGroovyMethods.filterLine(java.io.File self,
Closure closure)
Filters the lines of a File and creates a Writeable in return to stream the filtered lines. |
static Writable |
DefaultGroovyMethods.filterLine(java.io.InputStream self,
Closure predicate)
Filter lines from an input stream using a closure predicate. |
static Writable |
DefaultGroovyMethods.filterLine(java.io.Reader reader,
Closure closure)
Filter the lines from this Reader, and return a Writable which can be used to stream the filtered lines to a destination. |
Methods in org.codehaus.groovy.runtime with parameters of type Writable | |
---|---|
static void |
DefaultGroovyMethods.write(java.io.Writer self,
Writable writable)
A helper method so that dynamic dispatch of the writer.write(object) method will always use the more efficient Writable.writeTo(writer) mechanism if the object implements the Writable interface. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |