com.liferay.portlet.dynamicdatamapping.util
Class DDMXSDUtil
java.lang.Object
com.liferay.portlet.dynamicdatamapping.util.DDMXSDUtil
public class DDMXSDUtil
- extends Object
|
Method Summary |
static DDMXSD |
getDDMXSD()
|
static String |
getFieldHTML(javax.servlet.jsp.PageContext pageContext,
Element element,
Fields fields,
String portletNamespace,
String namespace,
String mode,
boolean readOnly,
Locale locale)
|
static String |
getFieldHTMLByName(javax.servlet.jsp.PageContext pageContext,
long classNameId,
long classPK,
String fieldName,
Fields fields,
String portletNamespace,
String namespace,
String mode,
boolean readOnly,
Locale locale)
|
static String |
getFieldHTMLByName(javax.servlet.jsp.PageContext pageContext,
long classNameId,
long classPK,
String fieldName,
String portletNamespace,
String namespace,
String mode,
boolean readOnly,
Locale locale)
|
static String |
getHTML(javax.servlet.jsp.PageContext pageContext,
DDMStructure ddmStructure,
Fields fields,
String portletNamespace,
String namespace,
boolean readOnly,
Locale locale)
|
static String |
getHTML(javax.servlet.jsp.PageContext pageContext,
DDMTemplate ddmTemplate,
Fields fields,
String portletNamespace,
String namespace,
boolean readOnly,
Locale locale)
|
static String |
getHTML(javax.servlet.jsp.PageContext pageContext,
String xml,
Fields fields,
String portletNamespace,
Locale locale)
|
static String |
getHTML(javax.servlet.jsp.PageContext pageContext,
String xml,
Fields fields,
String portletNamespace,
String namespace,
boolean readOnly,
Locale locale)
|
static String |
getHTML(javax.servlet.jsp.PageContext pageContext,
String xml,
Fields fields,
String portletNamespace,
String namespace,
Locale locale)
|
static String |
getHTML(javax.servlet.jsp.PageContext pageContext,
String xml,
String portletNamespace,
Locale locale)
|
static JSONArray |
getJSONArray(DDMStructure structure,
String xsd)
|
static JSONArray |
getJSONArray(Document document)
|
static JSONArray |
getJSONArray(Element element)
|
static JSONArray |
getJSONArray(String xml)
|
static String |
getXSD(long classNameId,
long classPK)
|
void |
setDDMXSD(DDMXSD ddmXSD)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMXSDUtil
public DDMXSDUtil()
getDDMXSD
public static DDMXSD getDDMXSD()
getFieldHTML
public static String getFieldHTML(javax.servlet.jsp.PageContext pageContext,
Element element,
Fields fields,
String portletNamespace,
String namespace,
String mode,
boolean readOnly,
Locale locale)
throws Exception
- Throws:
Exception
getFieldHTMLByName
public static String getFieldHTMLByName(javax.servlet.jsp.PageContext pageContext,
long classNameId,
long classPK,
String fieldName,
Fields fields,
String portletNamespace,
String namespace,
String mode,
boolean readOnly,
Locale locale)
throws Exception
- Throws:
Exception
getFieldHTMLByName
public static String getFieldHTMLByName(javax.servlet.jsp.PageContext pageContext,
long classNameId,
long classPK,
String fieldName,
String portletNamespace,
String namespace,
String mode,
boolean readOnly,
Locale locale)
throws Exception
- Throws:
Exception
getHTML
public static String getHTML(javax.servlet.jsp.PageContext pageContext,
DDMStructure ddmStructure,
Fields fields,
String portletNamespace,
String namespace,
boolean readOnly,
Locale locale)
throws Exception
- Throws:
Exception
getHTML
public static String getHTML(javax.servlet.jsp.PageContext pageContext,
DDMTemplate ddmTemplate,
Fields fields,
String portletNamespace,
String namespace,
boolean readOnly,
Locale locale)
throws Exception
- Throws:
Exception
getHTML
public static String getHTML(javax.servlet.jsp.PageContext pageContext,
String xml,
Fields fields,
String portletNamespace,
Locale locale)
throws Exception
- Throws:
Exception
getHTML
public static String getHTML(javax.servlet.jsp.PageContext pageContext,
String xml,
Fields fields,
String portletNamespace,
String namespace,
boolean readOnly,
Locale locale)
throws Exception
- Throws:
Exception
getHTML
public static String getHTML(javax.servlet.jsp.PageContext pageContext,
String xml,
Fields fields,
String portletNamespace,
String namespace,
Locale locale)
throws Exception
- Throws:
Exception
getHTML
public static String getHTML(javax.servlet.jsp.PageContext pageContext,
String xml,
String portletNamespace,
Locale locale)
throws Exception
- Throws:
Exception
getJSONArray
public static JSONArray getJSONArray(DDMStructure structure,
String xsd)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getJSONArray
public static JSONArray getJSONArray(Document document)
throws PortalException
- Throws:
PortalException
getJSONArray
public static JSONArray getJSONArray(Element element)
throws PortalException
- Throws:
PortalException
getJSONArray
public static JSONArray getJSONArray(String xml)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getXSD
public static String getXSD(long classNameId,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setDDMXSD
public void setDDMXSD(DDMXSD ddmXSD)