org.apache.shindig.gadgets.rewrite
Class OsTemplateXmlLoaderRewriter.Converter
java.lang.Object
org.apache.shindig.gadgets.rewrite.OsTemplateXmlLoaderRewriter.Converter
- Enclosing class:
- OsTemplateXmlLoaderRewriter
public static class OsTemplateXmlLoaderRewriter.Converter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME_KEY
public static final String NAME_KEY
- See Also:
- Constant Field Values
VALUE_KEY
public static final String VALUE_KEY
- See Also:
- Constant Field Values
CHILDREN_KEY
public static final String CHILDREN_KEY
- See Also:
- Constant Field Values
ATTRIBS_KEY
public static final String ATTRIBS_KEY
- See Also:
- Constant Field Values
ERROR_KEY
public static final String ERROR_KEY
- See Also:
- Constant Field Values
OsTemplateXmlLoaderRewriter.Converter
@Inject
public OsTemplateXmlLoaderRewriter.Converter(GadgetHtmlParser parser,
DOMImplementation domImpl)
domToJson
public String domToJson(String xml)
jsonFromElement
public org.json.JSONObject jsonFromElement(Element elem)
throws org.json.JSONException
- Throws:
org.json.JSONException
Copyright © 2007-2012. All Rights Reserved.