public class TextUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TextUtils.TextExtractor
A SAX ContentHandler that writes all #PCDATA onto a java.io.Writer
From http://www.cafeconleche.org/books/xmljava/chapters/ch06s03.html
|
| Constructor and Description |
|---|
TextUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
extractText(java.lang.Object o,
java.io.Writer w)
Extract contents of descendant
|
static void |
extractText(java.lang.Object o,
java.io.Writer w,
javax.xml.bind.JAXBContext jc)
Extract contents of descendant
|
static void |
extractText(java.lang.Object o,
java.io.Writer w,
javax.xml.bind.JAXBContext jc,
java.lang.String uri,
java.lang.String local,
java.lang.Class declaredType)
Extract contents of descendant
|
static java.lang.String |
getText(java.lang.Object o)
Extract contents of descendant
|
public static java.lang.String getText(java.lang.Object o)
o - public static void extractText(java.lang.Object o,
java.io.Writer w)
throws Docx4JException
o - jcSVG - JAXBContextDocx4JExceptionpublic static void extractText(java.lang.Object o,
java.io.Writer w,
javax.xml.bind.JAXBContext jc)
throws Docx4JException
o - jc - JAXBContextDocx4JExceptionpublic static void extractText(java.lang.Object o,
java.io.Writer w,
javax.xml.bind.JAXBContext jc,
java.lang.String uri,
java.lang.String local,
java.lang.Class declaredType)
throws Docx4JException
o - w - jc - uri - local - declaredType - java.lang.ExceptionDocx4JExceptionCopyright © 2007–2025. All rights reserved.