public class Parser
extends java.lang.Object
Interpretation
.Constructor and Description |
---|
Parser() |
Modifier and Type | Method and Description |
---|---|
Interpretation |
parse(java.lang.String content,
java.lang.String ctype,
XelContext xelc,
Locator loc)
Parses the content into a meta format
|
public Interpretation parse(java.lang.String content, java.lang.String ctype, XelContext xelc, Locator loc) throws DspException, java.io.IOException, XelException
content
- the content to parse; never null.ctype
- the content type. Optional. It is used only if
no page action at all. If it is not specified and not page
action, "text/html" is assumed.xelc
- the context information used to parse XEL expressions
in the content.loc
- used to locate the resource such as taglib.
It could null only if DSP contains no such resource.DspException
java.io.IOException
XelException
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.