Cross Reference: ExpressionWriter.java
xref
: /
owl-s
/
src
/
org
/
mindswap
/
owls
/
io
/
ExpressionWriter.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
2
ronwalf
/*
2
ronwalf
* Created on May 7, 2005
2
ronwalf
*/
2
ronwalf
package
org
.
mindswap
.
owls
.
io
;
2
ronwalf
2
ronwalf
import
java
.
io
.
OutputStream
;
2
ronwalf
import
java
.
io
.
Writer
;
2
ronwalf
2
ronwalf
import
org
.
mindswap
.
owls
.
generic
.
expression
.
Expression
;
2
ronwalf
import
org
.
mindswap
.
utils
.
QNameProvider
;
2
ronwalf
2
ronwalf
/**
2
ronwalf
*
@author
Evren Sirin
2
ronwalf
*
2
ronwalf
*/
2
ronwalf
public
interface
ExpressionWriter
{
2
ronwalf
public
void
setWriter
(
Writer
out
);
2
ronwalf
2
ronwalf
public
Writer
getWriter
();
2
ronwalf
2
ronwalf
public
void
setWriter
(
OutputStream
out
);
2
ronwalf
2
ronwalf
public
void
write
(
Expression
expr
);
2
ronwalf
2
ronwalf
public
void
write
(
Expression
expr
,
Writer
out
);
2
ronwalf
2
ronwalf
public
void
write
(
Expression
expr
,
OutputStream
out
);
2
ronwalf
2
ronwalf
public
String
getIndent
();
2
ronwalf
2
ronwalf
public
void
setIndent
(
String
indent
);
2
ronwalf
2
ronwalf
public
boolean
getFirstLineIndent
();
2
ronwalf
2
ronwalf
public
void
setFirstLineIndent
(
boolean
indent
);
2
ronwalf
2
ronwalf
public
void
setQNames
(
QNameProvider
qnames
);
2
ronwalf
2
ronwalf
public
QNameProvider
getQNames
();
2
ronwalf
}