org.apache.crimson.tree
Class XmlDocument.ExtWriteContext

java.lang.Object
  extended byorg.apache.crimson.tree.XmlWriteContext
      extended byorg.apache.crimson.tree.XmlDocument.ExtWriteContext
Enclosing class:
XmlDocument

class XmlDocument.ExtWriteContext
extends XmlWriteContext


Field Summary
 
Fields inherited from class org.apache.crimson.tree.XmlWriteContext
 
Constructor Summary
(package private) XmlDocument.ExtWriteContext(Writer out)
           
(package private) XmlDocument.ExtWriteContext(Writer out, int level)
           
 
Method Summary
 boolean isEntityDeclared(String name)
          Returns true if the specified entity was already declared in this output context, so that entity references may be written rather than their expanded values.
 
Methods inherited from class org.apache.crimson.tree.XmlWriteContext
getIndentLevel, getWriter, isPrettyOutput, printIndent, setIndentLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlDocument.ExtWriteContext

XmlDocument.ExtWriteContext(Writer out)

XmlDocument.ExtWriteContext

XmlDocument.ExtWriteContext(Writer out,
                            int level)
Method Detail

isEntityDeclared

public boolean isEntityDeclared(String name)
Description copied from class: XmlWriteContext
Returns true if the specified entity was already declared in this output context, so that entity references may be written rather than their expanded values. The predefined XML entities are always declared.

Overrides:
isEntityDeclared in class XmlWriteContext