|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.forms.FormDataFunctions
public class FormDataFunctions
Common implementation of functions called in the context of FormDataRenderers. This uses AVMRemote rather than AVMService so that in can be used in the context of both the alfresco webapp and the virtualization server.
Constructor Summary | |
---|---|
FormDataFunctions(org.alfresco.service.cmr.remote.AVMRemote avmRemote)
|
Method Summary | |
---|---|
java.lang.String |
encodeQuotes(java.lang.String text)
Encodes invalid HTML characters. |
org.w3c.dom.Document |
parseXMLDocument(java.lang.String avmPath)
Loads and parses an xml document at the specified path using avm remote. |
java.util.Map |
parseXMLDocuments(java.lang.String formName,
java.lang.String avmPath)
Loads and parses all xml documents at the specified path generated by the specified form using avm remote. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormDataFunctions(org.alfresco.service.cmr.remote.AVMRemote avmRemote)
Method Detail |
---|
public org.w3c.dom.Document parseXMLDocument(java.lang.String avmPath) throws java.io.IOException, org.xml.sax.SAXException
avmPath
- a path within the avm repository.
java.io.IOException
org.xml.sax.SAXException
public java.util.Map parseXMLDocuments(java.lang.String formName, java.lang.String avmPath) throws java.io.IOException, org.xml.sax.SAXException
formName
- a form nameavmPath
- a path within the avm repository.
java.io.IOException
org.xml.sax.SAXException
public java.lang.String encodeQuotes(java.lang.String text) throws java.io.IOException, org.xml.sax.SAXException
text
- to encode
java.io.IOException
org.xml.sax.SAXException
for pattern.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |