|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.richtext.processors.xml.MmxfSetString
Set-processing for an `mmxf' field. This is the counterpart and inverse of MmxfGetString, for more
information see the javadoc of that class.
| Constructor Summary | |
MmxfSetString()
|
|
| Method Summary | |
protected void |
cleanDanglingIdRels(NodeList clusterNodes,
NodeList usedNodes,
String type)
At the end of stage 2 of parseKupu all relations are removed which are not used any more, using this function. |
protected Node |
getUrlNode(Cloud cloud,
String href,
Element a)
|
static void |
main(String[] argv)
Invocation of the class from the commandline for testing. |
protected String |
normalizeURL(HttpServletRequest request,
String url)
Normalizes URL to absolute on server |
protected String |
normalizeURL(String url)
Adds missing protocol |
protected static Document |
parse(InputStream value)
Just parses InputStream to Document (without validation). |
protected static Document |
parse(Object value)
Just parses String to Document |
protected Document |
parseDocBook(Node editedNode,
Document source)
Receives Docbook XML, and saves as MMXF. |
Object |
process(Node node,
Field field,
Object value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MmxfSetString()
| Method Detail |
protected static Document parse(Object value)
throws ParserConfigurationException,
SAXException,
IOException
ParserConfigurationException
SAXException
IOException
protected static Document parse(InputStream value)
throws ParserConfigurationException,
SAXException,
IOException
ParserConfigurationException
SAXException
IOException
protected String normalizeURL(HttpServletRequest request,
String url)
protected String normalizeURL(String url)
protected Node getUrlNode(Cloud cloud,
String href,
Element a)
protected void cleanDanglingIdRels(NodeList clusterNodes,
NodeList usedNodes,
String type)
protected Document parseDocBook(Node editedNode,
Document source)
public Object process(Node node,
Field field,
Object value)
process in interface Processornode - The node object for which the field must be transformed.field - The field which is set.value - The (new) field value.public static void main(String[] argv)
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||