public class FormDataFunctions
extends java.lang.Object
| Constructor and Description |
|---|
FormDataFunctions(org.alfresco.service.cmr.remote.AVMRemote avmRemote) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public FormDataFunctions(org.alfresco.service.cmr.remote.AVMRemote avmRemote)
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.IOExceptionorg.xml.sax.SAXExceptionpublic 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.IOExceptionorg.xml.sax.SAXExceptionpublic java.lang.String encodeQuotes(java.lang.String text)
throws java.io.IOException,
org.xml.sax.SAXException
text - to encodejava.io.IOExceptionorg.xml.sax.SAXExceptionfor pattern.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.