Module com.aoapps.html.any
Package com.aoapps.html.any
Class Normal_c<D extends AnyDocument<D>,PC extends Content<D,PC>,_c extends Normal_c<D,PC,_c>>
java.lang.Object
com.aoapps.html.any.Normal_c<D,PC,_c>
- Type Parameters:
D
- This document typePC
- The parent content model this element is within_c
- This content model asCloseable
, which will be the parent content model of child elements
- All Implemented Interfaces:
Whitespace
,Closeable<D,
,PC> Content<D,
,_c> DocumentWriter
,Closeable
,AutoCloseable
- Direct Known Subclasses:
AnyBODY_c
,AnyCOLGROUP_c
,AnyDL_c
,AnyHEAD_c
,AnyHTML_c
,AnyMENU_c
,AnyOBJECT_c
,AnyOL_c
,AnyOPTGROUP_c
,AnySELECT_c
,AnyTABLE_c
,AnyTBODY_c
,AnyTFOOT_c
,AnyTHEAD_c
,AnyTR_c
,AnyUL_c
,NormalText_c
,Transparent_c
public abstract class Normal_c<D extends AnyDocument<D>,PC extends Content<D,PC>,_c extends Normal_c<D,PC,_c>>
extends Object
implements Content<D,_c>, Closeable<D,PC>
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from interface com.aoapps.encoding.Whitespace
INDENT_SPACES, NL, SPACE
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aoapps.html.any.Content
autoIndent, autoIndent, autoNl, autoNli, autoNli, clearAtnl, decDepth, getAtnl, getAutonli, getDepth, getIndent, getRawUnsafe, getRawUnsafe, incDepth, indent, indent, nl, nli, nli, setAtnl, setAtnl, setAutonli, setDepth, setIndent, sp, sp, unsafe, unsafe, unsafe, unsafe, unsafe, unsafe, unsafe, unsafe, unsafe
-
Field Details
-
element
-
closed
-
-
Constructor Details
-
Normal_c
-
-
Method Details
-
getDocument
Description copied from interface:Content
Gets the document for the current content model. The document can be used to perform raw output or write elements not expected in the current context.- Specified by:
getDocument
in interfaceContent<D extends AnyDocument<D>,
PC extends Content<D, PC>>
-
close
Description copied from interface:Closeable
Closes the content and ends the parent tag. This is for use in try-with-resources, and simply callsCloseable.__()
.Note: Every implementation must be idempotent and only call
Closeable.__()
on the first call toCloseable.close()
.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable<D extends AnyDocument<D>,
PC extends Content<D, PC>> - Specified by:
close
in interfaceCloseable
- Throws:
IOException
- See Also:
-
__
Description copied from interface:Closeable
Closes the content and ends the parent tag.- Specified by:
__
in interfaceCloseable<D extends AnyDocument<D>,
PC extends Content<D, PC>> - Returns:
- The parent content model this element is within
- Throws:
IOException
- See Also:
-