Package org.smooks.engine.xml
Class DocType
- java.lang.Object
-
- org.smooks.engine.xml.DocType
-
public abstract class DocType extends Object
DOCTYPE utility class.- Author:
- tom.fennelly@gmail.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocType.DocumentTypeData
-
Constructor Summary
Constructors Constructor Description DocType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocType.DocumentTypeData
getDocType(ExecutionContext executionContext)
static void
serializeDoctype(DocType.DocumentTypeData docTypeData, Writer writer)
static void
setDocType(String name, String publicId, String systemId, String xmlns, ExecutionContext executionContext)
-
-
-
Method Detail
-
setDocType
public static void setDocType(String name, String publicId, String systemId, String xmlns, ExecutionContext executionContext)
-
getDocType
public static DocType.DocumentTypeData getDocType(ExecutionContext executionContext)
-
serializeDoctype
public static void serializeDoctype(DocType.DocumentTypeData docTypeData, Writer writer) throws IOException
- Throws:
IOException
-
-