Goodbye org.x4o.xml.eld.doc.api.dom
This commit is contained in:
parent
3180284922
commit
eb8c650528
|
@ -33,7 +33,7 @@ import java.io.PrintStream;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocProject;
|
import org.x4o.o2o.tdoc.ApiDocProject;
|
||||||
import org.x4o.xml.io.X4OConnectionException;
|
import org.x4o.xml.io.X4OConnectionException;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
|
|
|
@ -38,13 +38,13 @@ import org.apache.metamodel.schema.Column;
|
||||||
import org.apache.metamodel.schema.Relationship;
|
import org.apache.metamodel.schema.Relationship;
|
||||||
import org.apache.metamodel.schema.Schema;
|
import org.apache.metamodel.schema.Schema;
|
||||||
import org.apache.metamodel.schema.Table;
|
import org.apache.metamodel.schema.Table;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocGenerator;
|
import org.x4o.o2o.tdoc.ApiDocGenerator;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterHelp;
|
import org.x4o.o2o.tdoc.DefaultPageWriterHelp;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterIndexAll;
|
import org.x4o.o2o.tdoc.DefaultPageWriterIndexAll;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterTree;
|
import org.x4o.o2o.tdoc.DefaultPageWriterTree;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocConcept;
|
import org.x4o.o2o.tdoc.dom.ApiDocConcept;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
public class DocModelWriter {
|
public class DocModelWriter {
|
||||||
|
|
|
@ -36,12 +36,12 @@ import org.apache.metamodel.query.FunctionType;
|
||||||
import org.apache.metamodel.schema.Schema;
|
import org.apache.metamodel.schema.Schema;
|
||||||
import org.apache.metamodel.schema.Table;
|
import org.apache.metamodel.schema.Table;
|
||||||
import org.apache.metamodel.schema.TableType;
|
import org.apache.metamodel.schema.TableType;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentCss;
|
import org.x4o.o2o.tdoc.ApiDocContentCss;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentWriter;
|
import org.x4o.o2o.tdoc.ApiDocContentWriter;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterMethod;
|
import org.x4o.o2o.tdoc.ApiDocNodeWriterMethod;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
public class DocModelWriterSchema {
|
public class DocModelWriterSchema {
|
||||||
|
|
|
@ -44,13 +44,13 @@ import org.apache.metamodel.schema.Relationship;
|
||||||
import org.apache.metamodel.schema.Table;
|
import org.apache.metamodel.schema.Table;
|
||||||
import org.apache.metamodel.schema.TableType;
|
import org.apache.metamodel.schema.TableType;
|
||||||
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentCss;
|
import org.x4o.o2o.tdoc.ApiDocContentCss;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentWriter;
|
import org.x4o.o2o.tdoc.ApiDocContentWriter;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterMethod;
|
import org.x4o.o2o.tdoc.ApiDocNodeWriterMethod;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocIndexItem;
|
import org.x4o.o2o.tdoc.dom.ApiDocIndexItem;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
public class DocModelWriterTable {
|
public class DocModelWriterTable {
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
|
|
||||||
package love.distributedrebirth.nx01.popcorn;
|
package love.distributedrebirth.nx01.popcorn;
|
||||||
|
|
||||||
|
import org.x4o.o2o.tdoc.ApiDocProject;
|
||||||
import org.x4o.xml.X4ODriver;
|
import org.x4o.xml.X4ODriver;
|
||||||
import org.x4o.xml.X4ODriverManager;
|
import org.x4o.xml.X4ODriverManager;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocProject;
|
|
||||||
|
|
||||||
/// @author للَّٰهِilLצسُو
|
/// @author للَّٰهِilLצسُو
|
||||||
/// @version ©Δ∞ 仙上主天
|
/// @version ©Δ∞ 仙上主天
|
||||||
|
|
|
@ -32,14 +32,14 @@ import java.util.Map;
|
||||||
import org.x4o.o2o.PropertyConfig;
|
import org.x4o.o2o.PropertyConfig;
|
||||||
import org.x4o.o2o.PropertyConfig.PropertyConfigItem;
|
import org.x4o.o2o.PropertyConfig.PropertyConfigItem;
|
||||||
import org.x4o.o2o.io.sax3.ContentWriterXml;
|
import org.x4o.o2o.io.sax3.ContentWriterXml;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocGenerator;
|
import org.x4o.o2o.tdoc.ApiDocGenerator;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterHelp;
|
import org.x4o.o2o.tdoc.DefaultPageWriterHelp;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterIndexAll;
|
import org.x4o.o2o.tdoc.DefaultPageWriterIndexAll;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterTree;
|
import org.x4o.o2o.tdoc.DefaultPageWriterTree;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocConcept;
|
import org.x4o.o2o.tdoc.dom.ApiDocConcept;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocRemoteClass;
|
import org.x4o.o2o.tdoc.dom.ApiDocRemoteClass;
|
||||||
import org.x4o.xml.element.ElementNamespaceAttribute;
|
import org.x4o.xml.element.ElementNamespaceAttribute;
|
||||||
import org.x4o.xml.element.ElementBindingHandler;
|
import org.x4o.xml.element.ElementBindingHandler;
|
||||||
import org.x4o.xml.element.ElementClass;
|
import org.x4o.xml.element.ElementClass;
|
||||||
|
|
|
@ -25,16 +25,16 @@ package org.x4o.xml.eld.doc;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
||||||
|
import org.x4o.o2o.tdoc.ApiDocContentPrinter;
|
||||||
|
import org.x4o.o2o.tdoc.ApiDocContentWriter;
|
||||||
|
import org.x4o.o2o.tdoc.ApiDocNodeDataConfiguratorMethod;
|
||||||
|
import org.x4o.o2o.tdoc.ApiDocNodeWriterMethod;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeData;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.x4o.xml.eld.doc.EldDocXTreePageWriter.TreeNode;
|
import org.x4o.xml.eld.doc.EldDocXTreePageWriter.TreeNode;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentPrinter;
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentWriter;
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeDataConfiguratorMethod;
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterMethod;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeData;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
|
||||||
import org.x4o.xml.element.ElementClass;
|
import org.x4o.xml.element.ElementClass;
|
||||||
import org.x4o.xml.element.ElementClassAttribute;
|
import org.x4o.xml.element.ElementClassAttribute;
|
||||||
import org.x4o.xml.element.ElementConfigurator;
|
import org.x4o.xml.element.ElementConfigurator;
|
||||||
|
|
|
@ -22,14 +22,14 @@
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc;
|
package org.x4o.xml.eld.doc;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentPrinter;
|
import org.x4o.o2o.tdoc.ApiDocContentPrinter;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeDataConfiguratorMethod;
|
import org.x4o.o2o.tdoc.ApiDocNodeDataConfiguratorMethod;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterMethod;
|
import org.x4o.o2o.tdoc.ApiDocNodeWriterMethod;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeData;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeData;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.x4o.xml.element.ElementBindingHandler;
|
import org.x4o.xml.element.ElementBindingHandler;
|
||||||
import org.x4o.xml.element.ElementClassAttribute;
|
import org.x4o.xml.element.ElementClassAttribute;
|
||||||
import org.x4o.xml.element.ElementConfigurator;
|
import org.x4o.xml.element.ElementConfigurator;
|
||||||
|
|
|
@ -22,14 +22,14 @@
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc;
|
package org.x4o.xml.eld.doc;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentPrinter;
|
import org.x4o.o2o.tdoc.ApiDocContentPrinter;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeDataConfiguratorMethod;
|
import org.x4o.o2o.tdoc.ApiDocNodeDataConfiguratorMethod;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterMethod;
|
import org.x4o.o2o.tdoc.ApiDocNodeWriterMethod;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeData;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeData;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.x4o.xml.element.ElementClass;
|
import org.x4o.xml.element.ElementClass;
|
||||||
import org.x4o.xml.element.ElementNamespace;
|
import org.x4o.xml.element.ElementNamespace;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc;
|
package org.x4o.xml.eld.doc;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentPrinter;
|
import org.x4o.o2o.tdoc.ApiDocContentCss;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentCss;
|
import org.x4o.o2o.tdoc.ApiDocContentPrinter;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentWriter;
|
import org.x4o.o2o.tdoc.ApiDocContentWriter;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterMethod;
|
import org.x4o.o2o.tdoc.ApiDocNodeWriterMethod;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.x4o.xml.element.ElementBindingHandler;
|
import org.x4o.xml.element.ElementBindingHandler;
|
||||||
import org.x4o.xml.element.ElementClassAttribute;
|
import org.x4o.xml.element.ElementClassAttribute;
|
||||||
import org.x4o.xml.element.ElementConfigurator;
|
import org.x4o.xml.element.ElementConfigurator;
|
||||||
|
|
|
@ -22,15 +22,15 @@
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc;
|
package org.x4o.xml.eld.doc;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentPrinter;
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeDataConfiguratorMethod;
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterMethod;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeData;
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
|
||||||
import org.x4o.xml.element.ElementNamespaceAttribute;
|
import org.x4o.xml.element.ElementNamespaceAttribute;
|
||||||
|
import org.x4o.o2o.tdoc.ApiDocContentPrinter;
|
||||||
|
import org.x4o.o2o.tdoc.ApiDocNodeDataConfiguratorMethod;
|
||||||
|
import org.x4o.o2o.tdoc.ApiDocNodeWriterMethod;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeData;
|
||||||
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.x4o.xml.element.ElementBindingHandler;
|
import org.x4o.xml.element.ElementBindingHandler;
|
||||||
import org.x4o.xml.element.ElementConfigurator;
|
import org.x4o.xml.element.ElementConfigurator;
|
||||||
import org.x4o.xml.element.ElementInterface;
|
import org.x4o.xml.element.ElementInterface;
|
||||||
|
|
|
@ -28,13 +28,13 @@ import java.util.Comparator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentWriter;
|
import org.x4o.o2o.tdoc.ApiDocContentWriter;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterTree;
|
import org.x4o.o2o.tdoc.DefaultPageWriterTree;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPage;
|
import org.x4o.o2o.tdoc.dom.ApiDocPage;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPageWriter;
|
import org.x4o.o2o.tdoc.dom.ApiDocPageWriter;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.x4o.xml.element.ElementBindingHandler;
|
import org.x4o.xml.element.ElementBindingHandler;
|
||||||
import org.x4o.xml.element.ElementClass;
|
import org.x4o.xml.element.ElementClass;
|
||||||
import org.x4o.xml.element.ElementInterface;
|
import org.x4o.xml.element.ElementInterface;
|
||||||
|
@ -75,7 +75,7 @@ public class EldDocXTreePageWriter extends DefaultPageWriterTree implements ApiD
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: remove this
|
* TODO: remove this
|
||||||
* @see org.x4o.xml.eld.doc.api.DefaultPageWriterTree#writePageContent(org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent)
|
* @see org.x4o.o2o.tdoc.DefaultPageWriterTree#writePageContent(org.x4o.o2o.tdoc.dom.ApiDocWriteEvent)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void writePageContent(ApiDocWriteEvent<ApiDocPage> e) throws SAXException {
|
public void writePageContent(ApiDocWriteEvent<ApiDocPage> e) throws SAXException {
|
||||||
|
@ -124,7 +124,7 @@ public class EldDocXTreePageWriter extends DefaultPageWriterTree implements ApiD
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Overrided to select the dom view of the tree.
|
* Overrided to select the dom view of the tree.
|
||||||
* @see org.x4o.xml.eld.doc.api.DefaultPageWriterTree#selectRootNode(org.x4o.xml.eld.doc.api.dom.ApiDoc)
|
* @see org.x4o.o2o.tdoc.DefaultPageWriterTree#selectRootNode(org.x4o.o2o.tdoc.dom.ApiDoc)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected ApiDocNode selectRootNode(ApiDoc doc) {
|
protected ApiDocNode selectRootNode(ApiDoc doc) {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiDocContentCss defines the css style names used in api docs.
|
* ApiDocContentCss defines the css style names used in api docs.
|
|
@ -20,18 +20,18 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNavLink;
|
import org.x4o.o2o.tdoc.dom.ApiDocNavLink;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocRemoteClass;
|
import org.x4o.o2o.tdoc.dom.ApiDocRemoteClass;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.io.Writer;
|
import java.io.Writer;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
@ -44,18 +44,17 @@ import org.x4o.o2o.io.ContentWriterHtml.DocType;
|
||||||
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
||||||
import org.x4o.o2o.io.sax3.ContentWriterXml;
|
import org.x4o.o2o.io.sax3.ContentWriterXml;
|
||||||
import org.x4o.o2o.io.sax3.XMLConstants;
|
import org.x4o.o2o.io.sax3.XMLConstants;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocConcept;
|
import org.x4o.o2o.tdoc.dom.ApiDocConcept;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNavLink;
|
import org.x4o.o2o.tdoc.dom.ApiDocNavLink;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeData;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeData;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeDataConfigurator;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeDataConfigurator;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeWriter;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeWriter;
|
import org.x4o.o2o.tdoc.dom.ApiDocPage;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPage;
|
import org.x4o.o2o.tdoc.dom.ApiDocPageWriter;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPageWriter;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.x4o.xml.lang.X4OLanguageClassLoader;
|
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
import org.xml.sax.helpers.AttributesImpl;
|
import org.xml.sax.helpers.AttributesImpl;
|
||||||
|
|
||||||
|
@ -894,7 +893,7 @@ public class ApiDocGenerator implements ApiDocContentPrinter {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void appendResourceToBuffer(StringBuilder buffer,String resource) throws IOException {
|
private void appendResourceToBuffer(StringBuilder buffer,String resource) throws IOException {
|
||||||
ClassLoader cl = X4OLanguageClassLoader.getClassLoader();
|
ClassLoader cl = findClassLoader();
|
||||||
BufferedReader reader = null;
|
BufferedReader reader = null;
|
||||||
try {
|
try {
|
||||||
InputStream inputStream = cl.getResourceAsStream(resource);
|
InputStream inputStream = cl.getResourceAsStream(resource);
|
||||||
|
@ -925,11 +924,19 @@ public class ApiDocGenerator implements ApiDocContentPrinter {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void copyResourceToFile(String resource,File basePath,String...argu) throws SecurityException, IOException, InterruptedException {
|
private void copyResourceToFile(String resource,File basePath,String...argu) throws SecurityException, IOException, InterruptedException {
|
||||||
ClassLoader cl = X4OLanguageClassLoader.getClassLoader();
|
ClassLoader cl = findClassLoader();
|
||||||
InputStream inputStream = cl.getResourceAsStream(resource);
|
InputStream inputStream = cl.getResourceAsStream(resource);
|
||||||
copyStreamToFile(inputStream,basePath,argu);
|
copyStreamToFile(inputStream,basePath,argu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static ClassLoader findClassLoader() {
|
||||||
|
ClassLoader cl = Thread.currentThread().getContextClassLoader();
|
||||||
|
if (cl == null) {
|
||||||
|
cl = ApiDocGenerator.class.getClassLoader();
|
||||||
|
}
|
||||||
|
return cl;
|
||||||
|
}
|
||||||
|
|
||||||
private void copyStreamToFile(InputStream inputStream,File basePath,String...argu) throws SecurityException, IOException, InterruptedException {
|
private void copyStreamToFile(InputStream inputStream,File basePath,String...argu) throws SecurityException, IOException, InterruptedException {
|
||||||
|
|
||||||
OutputStream outputStream = new FileOutputStream(createOutputPathFile(basePath,argu));
|
OutputStream outputStream = new FileOutputStream(createOutputPathFile(basePath,argu));
|
|
@ -20,16 +20,16 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeData;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeData;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeDataConfigurator;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeDataConfigurator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiDocNodeDataConfiguratorBean wraps the ApiDocNodeDataConfigurator to a single method of a bean.
|
* ApiDocNodeDataConfiguratorBean wraps the ApiDocNodeDataConfigurator to a single method of a bean.
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
|
@ -20,17 +20,17 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeWriter;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeWriter;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -20,14 +20,14 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNodeBody;
|
import org.x4o.o2o.tdoc.dom.ApiDocNodeBody;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiDocNodeBodyWriterMethod wraps api doc file writer events to a method.
|
* ApiDocNodeBodyWriterMethod wraps api doc file writer events to a method.
|
|
@ -25,7 +25,7 @@
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -25,10 +25,10 @@
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
|
|
||||||
public interface ApiDocProjectPerspectiveWasp {
|
public interface ApiDocProjectPerspectiveWasp {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -32,26 +32,14 @@ import java.util.Map;
|
||||||
import org.x4o.o2o.PropertyConfig;
|
import org.x4o.o2o.PropertyConfig;
|
||||||
import org.x4o.o2o.PropertyConfig.PropertyConfigItem;
|
import org.x4o.o2o.PropertyConfig.PropertyConfigItem;
|
||||||
import org.x4o.o2o.io.sax3.ContentWriterXml;
|
import org.x4o.o2o.io.sax3.ContentWriterXml;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocGenerator;
|
import org.x4o.o2o.tdoc.ApiDocGenerator;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterHelp;
|
import org.x4o.o2o.tdoc.DefaultPageWriterHelp;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterIndexAll;
|
import org.x4o.o2o.tdoc.DefaultPageWriterIndexAll;
|
||||||
import org.x4o.xml.eld.doc.api.DefaultPageWriterTree;
|
import org.x4o.o2o.tdoc.DefaultPageWriterTree;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocConcept;
|
import org.x4o.o2o.tdoc.dom.ApiDocConcept;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocRemoteClass;
|
import org.x4o.o2o.tdoc.dom.ApiDocRemoteClass;
|
||||||
import org.x4o.xml.element.ElementNamespaceAttribute;
|
|
||||||
import org.x4o.xml.element.ElementBindingHandler;
|
|
||||||
import org.x4o.xml.element.ElementClass;
|
|
||||||
import org.x4o.xml.element.ElementClassAttribute;
|
|
||||||
import org.x4o.xml.element.ElementConfigurator;
|
|
||||||
import org.x4o.xml.element.ElementConfiguratorGlobal;
|
|
||||||
import org.x4o.xml.element.ElementInterface;
|
|
||||||
import org.x4o.xml.element.ElementException;
|
|
||||||
import org.x4o.xml.element.ElementNamespace;
|
|
||||||
import org.x4o.xml.lang.X4OLanguage;
|
|
||||||
import org.x4o.xml.lang.X4OLanguageModule;
|
|
||||||
import org.x4o.xml.lang.X4OLanguageSession;
|
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -60,6 +48,7 @@ import org.xml.sax.SAXException;
|
||||||
* @author Willem Cazander
|
* @author Willem Cazander
|
||||||
* @version 1.0 Aug 26, 2010
|
* @version 1.0 Aug 26, 2010
|
||||||
*/
|
*/
|
||||||
|
@Deprecated // marked until make working to write multiple project or mix api docs in one big tree
|
||||||
public class ApiDocWriter {
|
public class ApiDocWriter {
|
||||||
|
|
||||||
// NOTE: this class is unused, and is waiting for ApiDocProject code and replaces most code in EldDocWriter to here.
|
// NOTE: this class is unused, and is waiting for ApiDocProject code and replaces most code in EldDocWriter to here.
|
||||||
|
@ -108,15 +97,7 @@ public class ApiDocWriter {
|
||||||
/** The config of this writer. */
|
/** The config of this writer. */
|
||||||
private final PropertyConfig propertyConfig;
|
private final PropertyConfig propertyConfig;
|
||||||
|
|
||||||
/** The language to write doc over. */
|
public ApiDocWriter(PropertyConfig parentConfig) {
|
||||||
//private final X4OLanguage language;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates an EldDocGenerator for this langauge context.
|
|
||||||
* @param language The language to generate doc for.
|
|
||||||
*/
|
|
||||||
public ApiDocWriter(X4OLanguage language,PropertyConfig parentConfig) {
|
|
||||||
// this.language=language;
|
|
||||||
this.propertyConfig=new PropertyConfig(DEFAULT_PROPERTY_CONFIG,PROPERTY_CONTEXT_PREFIX);
|
this.propertyConfig=new PropertyConfig(DEFAULT_PROPERTY_CONFIG,PROPERTY_CONTEXT_PREFIX);
|
||||||
this.propertyConfig.copyParentProperties(parentConfig);
|
this.propertyConfig.copyParentProperties(parentConfig);
|
||||||
}
|
}
|
||||||
|
@ -125,16 +106,14 @@ public class ApiDocWriter {
|
||||||
* Writes the language documentation to the base path.
|
* Writes the language documentation to the base path.
|
||||||
* @throws ElementException Is thrown when error is done.
|
* @throws ElementException Is thrown when error is done.
|
||||||
*/
|
*/
|
||||||
public void writeDocumentation() throws ElementException {
|
public void writeDocumentation() throws IOException {
|
||||||
try {
|
try {
|
||||||
File basePath = propertyConfig.getPropertyFile(OUTPUT_PATH);
|
File basePath = propertyConfig.getPropertyFile(OUTPUT_PATH);
|
||||||
ApiDocGenerator writer = new ApiDocGenerator();
|
ApiDocGenerator writer = new ApiDocGenerator();
|
||||||
ApiDoc doc = buildLanguageDoc();
|
ApiDoc doc = buildLanguageDoc();
|
||||||
writer.write(doc, basePath);
|
writer.write(doc, basePath);
|
||||||
} catch (SAXException e) {
|
} catch (SAXException e) {
|
||||||
throw new ElementException(e);
|
throw new IOException(e);
|
||||||
} catch (IOException e) {
|
|
||||||
throw new ElementException(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,14 +20,14 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocConcept;
|
import org.x4o.o2o.tdoc.dom.ApiDocConcept;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPage;
|
import org.x4o.o2o.tdoc.dom.ApiDocPage;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPageWriter;
|
import org.x4o.o2o.tdoc.dom.ApiDocPageWriter;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -20,12 +20,12 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPage;
|
import org.x4o.o2o.tdoc.dom.ApiDocPage;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPageWriter;
|
import org.x4o.o2o.tdoc.dom.ApiDocPageWriter;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -20,14 +20,14 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
||||||
|
|
||||||
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
import org.x4o.o2o.io.ContentWriterHtml.Tag;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDoc;
|
import org.x4o.o2o.tdoc.dom.ApiDoc;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocNode;
|
import org.x4o.o2o.tdoc.dom.ApiDocNode;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPage;
|
import org.x4o.o2o.tdoc.dom.ApiDocPage;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocPageWriter;
|
import org.x4o.o2o.tdoc.dom.ApiDocPageWriter;
|
||||||
import org.x4o.xml.eld.doc.api.dom.ApiDocWriteEvent;
|
import org.x4o.o2o.tdoc.dom.ApiDocWriteEvent;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -32,8 +32,8 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeDataConfiguratorBean;
|
import org.x4o.o2o.tdoc.ApiDocNodeDataConfiguratorBean;
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocNodeWriterBean;
|
import org.x4o.o2o.tdoc.ApiDocNodeWriterBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiDoc holds all config and data to write a full api doc structure.
|
* ApiDoc holds all config and data to write a full api doc structure.
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiDocIndexItem holds data to print the index all page.
|
* ApiDocIndexItem holds data to print the index all page.
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiDocNavLink holds all fields of an navigation link.
|
* ApiDocNavLink holds all fields of an navigation link.
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiDocNodeBody are the parts from which the content body is created.
|
* ApiDocNodeBody are the parts from which the content body is created.
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
|
@ -20,9 +20,9 @@
|
||||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
||||||
|
|
||||||
import org.x4o.xml.eld.doc.api.ApiDocContentWriter;
|
import org.x4o.o2o.tdoc.ApiDocContentWriter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ApiDocWriteEvent holds the needed objects to process write events of content parts.
|
* ApiDocWriteEvent holds the needed objects to process write events of content parts.
|
|
@ -26,4 +26,4 @@
|
||||||
* @author Willem Cazander
|
* @author Willem Cazander
|
||||||
* @since 1.0 May 12,2013
|
* @since 1.0 May 12,2013
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api.dom;
|
package org.x4o.o2o.tdoc.dom;
|
|
@ -26,4 +26,4 @@
|
||||||
* @author Willem Cazander
|
* @author Willem Cazander
|
||||||
* @since 1.0 May 12,2013
|
* @since 1.0 May 12,2013
|
||||||
*/
|
*/
|
||||||
package org.x4o.xml.eld.doc.api;
|
package org.x4o.o2o.tdoc;
|
Loading…
Reference in a new issue