cashew-s-editor-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[CASHeW-s-editor-patches] Clarifications to the CASheW-s model and begin


From: Andrew John Hughes
Subject: [CASHeW-s-editor-patches] Clarifications to the CASheW-s model and beginnings of serialization
Date: Wed, 4 May 2005 23:13:35 +0100
User-agent: Mutt/1.5.9i

I'm committing the attached patch which sorts out some
errors (in comparison with the schema) with our data model,
and also begins the serialization of the model to XML.

Changelog:

2005-05-04  Andrew John Hughes  <address@hidden>

        * src/nongnu/cashews/language/process/AtomicProcess.java:
        (AtomicProcess(String)): New constructor.
        (AtomicProcess(java.net.URI)): New constructor.
        * src/nongnu/cashews/language/process/CProcess.java:
        New interface.
        * src/nongnu/cashews/language/process/CompositeProcess.java:
        (controlStructure): New field.
        (CompositeProcess(String)): New constructor.
        (CompositeProcess(java.net.URI)): New constructor.
        (setControlStructure(CProcess)): New method.
        (toString()): New method.
        * src/nongnu/cashews/language/process/IfThenElse.java:
        Implements CProcess instead of extending CompositeProcess.
        * src/nongnu/cashews/language/process/Loop.java:
        Implements CProcess instead of extending CompositeProcess.
        * src/nongnu/cashews/language/process/MultiPerform.java:
        Implements CProcess instead of extending CompositeProcess.
        * src/nongnu/cashews/language/process/Process.java:
        (Process(String)): New constructor.
        (Process(java.net.URI)): New constructor.
        (setName(String)): New method.
        (setName(java.net.URI)): New method.
        (toString()): New method.
        * src/nongnu/cashews/language/process/ValueCollector.java:
        (width): Name changed from collectorWidth.
        * src/nongnu/cashews/xml/Serializer.java:
        New class which serializes instances to XML.
        (initializeImpl()): New method.
        (serialize(Xmlizable, org.w3c.dom.Node, org.w3c.dom.Document)):
        New method.
        (convertDocumentToString(org.w3c.dom.Document)): New method.
        (serializeValue(org.w3c.dom.Document, org.w3c.dom.Element, Object)):
        New method.
        (createElement(org.w3c.dom.Document, String)): New method.
        (main(String[])): New method.
        * src/nongnu/cashews/xml/Xmlizable.java:
        New interface for XMLizable classes.
        * src/nongnu/cashews/xml/schema/TypeMapper.java:
        New class for mapping Java to XML data types.
        (builtinTypes): New field, a map of XML built-in types.
        (map(java.lang.reflect.Type)): New method.
        * src/nongnu/cashews/xml/schema/XsdType.java:
        New interface.
        (translateValue(org.w3c.dom.Document, T)): New method.
        * src/nongnu/cashews/xml/schema/datatypes/AnyUri.java:
        Implementation for xsd:anyURI.
        (translateValue(org.w3c.dom.Document, java.net.URI)): New method.

-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history. 
`Don't bother us with politics' respond those who don't want to learn." 
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

Attachment: cashews-03.diff
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]