GoDiagram Win Reference
GoXmlWriter Class Methods


For a list of all members of this type, see GoXmlWriter members.

Public Methods
 NameDescription
Public MethodAddTransformerCause this XML writer to use the given IGoXmlTransformer for objects of the type given by the transformer's IGoXmlTransformer.TransformerType. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public MethodClearAllSharedsRemove all objects from the table of shared objects.  
Public MethodDefineAndGenerateSharedObjectIf the given object is not already known to be a shared object, define it and generate it, so that you can use simple ID references to the shared object both during generation and during consumption.  
Public MethodDefineObjectThis may produce shared elements that precede the regular rendering of the objects.  
Public MethodFindSharedFind an identifier associated with an object that can be referenced.  
Public MethodFindTransformerReturns the first IGoXmlTransformer associated with a given type or its base types. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public MethodGenerateOverloaded. Start an XmlWriter and generate XML.  
Public MethodGenerateObjectThis produces an element for an object, including any nested elements that help represent the rendering.  
Public MethodGetNamespaceUriLook up the namespace URI for a prefix string.  
Public MethodGetTransformerReturns the IGoXmlTransformer associated with a given type. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public MethodInvokeGenerateAttributesCall the GenerateAttributes method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeGenerateBodyCall the GenerateBody method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeGenerateDefinitionsCall the IGoXmlTransformer.GenerateDefinitions method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeGenerateElementCall the GenerateElement method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeGenerateElementFinishCall the IGoXmlTransformer.GenerateElementFinish method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeSkipGenerationCall the IGoXmlTransformer.SkipGeneration method of the IGoXmlTransformer that is associated with the given type.  
Public MethodMakeSharedAdd an object to the table of shared objects.  
Public MethodRegisterTransformersThis method creates instances of all of the standard IGoXmlTransformers to be used when generating XML. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public MethodSetNamespaceUriDefine the namespace URI for a prefix string, used when writing prefixed attribute names.  
Public MethodSetTransformerCause this XML writer to use the given IGoXmlTransformer for objects of the type given by t. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public MethodWriteAttrValWrite an attribute of the name name with a string representation for the value val.  
Public MethodWriteEndElementFinish the current XML element started by a call to WriteStartElement(String).  
Public MethodWriteNamespaceAttributeWrite an "xmlns:prefix" attribute for a namespace given by uri.  
Public MethodWriteStartElementStart a new XML element, with the name given by name.  
Public MethodWriteTextBodyWrite out a string as the body of an element.  
Top
Protected Methods
 NameDescription
Protected MethodGenerateDefinitionsCall DefineObject for each object in Objects.  
Protected MethodGenerateInstructionsGenerate XML instructions before the root element.  
Protected MethodGenerateObjectsCall GenerateObject for each object in Objects.  
Protected MethodGenerateRootAttributesGenerate attributes for the root element.  
Protected MethodGenerateRootElementStart the root element, using RootElementName and DefaultNamespace.  
Protected MethodInitializeDo the initialization needed by Generate(XmlWriter).  
Protected MethodSetXmlDocumentOnly a subclass of a GoXmlWriter can provide a value for the DOM.  
Protected MethodSetXmlWriterOnly a subclass of a GoXmlWriter can provide a value for the XmlWriter property.  
Top
See Also

Reference

GoXmlWriter Class
Northwoods.Go.Xml Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback