|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ru.novosoft.mdf.ext.xmi.XMIWriter
|
+--ru.novosoft.mdf.impl.XMI11WriterSAX2
|
+--com.bonevich.erj.mof.impl.ErjRepositoryImplXMIWriter
| Field Summary | |
static java.lang.String |
ErjInfoModel_NAMESPACE_PREFIX
|
static java.lang.String |
ErjInfoModel_NAMESPACE_URI
|
| Fields inherited from class ru.novosoft.mdf.impl.XMI11WriterSAX2 |
ATTR_AS_ATTR, ATTR_AS_ELEMENT, attrKey, IDENT_STEP, repository, xmiIdComparator |
| Constructor Summary | |
ErjRepositoryImplXMIWriter()
|
|
| Method Summary | |
protected void |
collectAttributes(ru.novosoft.mdf.ext.MDFObject me,
org.xml.sax.helpers.AttributesImpl xe)
Perform collecting all element references and attributes. |
protected java.lang.String[][] |
forceNSInfo()
Returns element_prefix/element_uri string pair array. |
protected void |
getElementName(java.lang.Class cls,
java.lang.String[] vals)
Initialize string array 'vals' by two values: class uri and class name. |
protected java.lang.String |
getValueForEnum(java.lang.Object val)
Returns string presentation of enumeration value. |
protected void |
processAssociations()
Processes associations. |
protected void |
processContentAsElements(ru.novosoft.mdf.ext.MDFObject me)
Processes element content and writes it as element. |
protected void |
processStruct(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
DefaultValue arg)
Processes structs. |
| Methods inherited from class ru.novosoft.mdf.impl.XMI11WriterSAX2 |
booleanValueAsElement, createEndFieldElement, createStartFieldElement, doubleValueAsElement, endLink, enumValueAsElement, fillXMIHeader, floatValueAsElement, forceNS, getXMIId, intValueAsElement, longValueAsElement, prepareAttributes, processBoolean, processDouble, processElement, processEnum, processField, processField, processField, processField, processFloat, processInt, processLong, processModel, processOwnedElement, processOwnedElements, processOwnedElements, processReference, processReferenceList, processString, processStringCollection, refListValuesAsElements, refValueAsElement, setAttrKey, startLink, stringValueAsElement, write, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ErjInfoModel_NAMESPACE_PREFIX
public static final java.lang.String ErjInfoModel_NAMESPACE_URI
| Constructor Detail |
public ErjRepositoryImplXMIWriter()
| Method Detail |
protected void processContentAsElements(ru.novosoft.mdf.ext.MDFObject me)
throws org.xml.sax.SAXException
processContentAsElements in class ru.novosoft.mdf.impl.XMI11WriterSAX2me - mdf element whose content need be processed.
org.xml.sax.SAXException
protected void processAssociations()
throws org.xml.sax.SAXException
processAssociations in class ru.novosoft.mdf.impl.XMI11WriterSAX2org.xml.sax.SAXExceptionprotected java.lang.String getValueForEnum(java.lang.Object val)
getValueForEnum in class ru.novosoft.mdf.impl.XMI11WriterSAX2val - enumeration value
protected void collectAttributes(ru.novosoft.mdf.ext.MDFObject me,
org.xml.sax.helpers.AttributesImpl xe)
throws org.xml.sax.SAXException
collectAttributes in class ru.novosoft.mdf.impl.XMI11WriterSAX2me - element whose references and attributes are collecting.xe - attributes buffer where element references and attributes are added.
org.xml.sax.SAXException
protected void getElementName(java.lang.Class cls,
java.lang.String[] vals)
getElementName in class ru.novosoft.mdf.impl.XMI11WriterSAX2cls - class, information about whose must be contains in 'vals'
after method performed.vals - string array that must be initialized.
protected void processStruct(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
DefaultValue arg)
throws org.xml.sax.SAXException
uri - struct owner element urilocalName - struct name in form 'class_name.struct_name'qName - full struct name in form 'prefix:local_name'arg - struct value
org.xml.sax.SAXExceptionprotected java.lang.String[][] forceNSInfo()
forceNSInfo in class ru.novosoft.mdf.impl.XMI11WriterSAX2
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||