GoDiagram Win Reference
GoXmlBindingTransformer Class Members
Properties  Methods 


The following tables list the members exposed by GoXmlBindingTransformer.

Public Constructors
 NameDescription
Public ConstructorGoXmlBindingTransformer ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyBodyConsumesChildElementsGets or sets whether GoXmlTransformer.ConsumeBody should iterate over all of the child elements of this XML node, calling GoXmlReader.ConsumeObject for each one, and passing the result to GoXmlTransformer.ConsumeChild. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyChildrenCollectionPathGets or sets the property path to find the Northwoods.Go.GoGroup holding the child objects corresponding to nested elements when HandlesChildren is true.  
Public Propertystatic (Shared in Visual Basic)DefaultTracingEnabledGets or sets a shared/static variable that provides the default value for TracingEnabled for newly created GoXmlBindingTransformers.  
Public PropertyElementNameGets or sets the name of the principal element used to render this object. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyGeneratesPortsAsChildElementsGets or sets whether this transformer writes child elements representing ports (IGoPort), if this transformer is operating on an IGoNode. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyHandlesChildAttributesGets or sets whether this transformer gets to read or write attributes on elements in the body of this element.  
Public PropertyHandlesChildrenGets or sets whether there are child objects of this Northwoods.Go.GoGroup that should be represented as nested XML elements in the body of this transformer's element.  
Public PropertyHandlesNamedPortsGets or sets whether the identifiers for named ports should be attributes on this element.  
Public PropertyHandlesSubGraphCollapsedChildrenGets or sets whether GenerateChildAttributes and ConsumeChildAttributes handle collapsed Northwoods.Go.GoSubGraphs information about the saved relative bounds or saved paths of subgraph child Northwoods.Go.GoObjects.  
Public PropertyIdAttributeUsedForSharedObjectsGets or sets whether this transformer reads/writes the "id" attribute using the identifier associated with shared objects. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyInheritsFromTransformerGets or sets a transformer from which this transformer will inherit implementation of the IGoXmlTransformer methods. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyPrototypeGets or sets the object which will be copied and initialized when consuming an XML element with this transformer.  
Public PropertyReaderGets or sets the GoXmlReader that is using this transformer. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyReaderNodeGet the GoXmlTransformer.Reader's GoXmlReader.ReaderNode, an XmlNode. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyTracingEnabledGets or sets whether to write information to trace listeners when tring to read or write properties that do not exist on a given object.  
Public PropertyTransformerTypeReturns the Type for which these transformer methods apply. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyTreeChildNodePortPathGets or sets the property path to find the port on a logical child node to which a copy of TreeLinkPrototype will be connected, when TreeStructured is true or when using the "TreeParentNode" property binding.  
Public PropertyTreeLinkPrototypeGets or sets an instance of a link that is copied to connect all new nodes in the constructed diagram, when TreeStructured is true or when using the "TreeParentNode" property binding.  
Public PropertyTreeLinksToChildrenGets or sets whether newly created links should connect from logical parent nodes to logical child nodes, when TreeStructured is true or when using the "TreeParentNode" property binding.  
Public PropertyTreeParentNodePortPathGets or sets the property path to find the port on a logical parent node to which a copy of TreeLinkPrototype will be connected, when TreeStructured is true or when using the "TreeParentNode" property binding.  
Public PropertyTreeStructuredGets or sets whether nested XML elements are treated as logical child nodes connected by links, rather than being structural parts of nodes like subgraphs.  
Public PropertyWriterGets or sets the GoXmlWriter that is using this transformer. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyWriterElementGet the GoXmlTransformer.Writer's GoXmlWriter.WriterElement, an XmlElement. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyXmlDocumentGet the GoXmlTransformer.Reader's or the GoXmlTransformer.Writer's GoXmlReader.XmlDocument. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyXmlReaderGet the GoXmlTransformer.Reader's GoXmlReader.XmlReader. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public PropertyXmlWriterGet the GoXmlTransformer.Writer's GoXmlWriter.XmlWriter. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Top
Public Methods
 NameDescription
Public MethodAddBindingOverloaded. Associate an attribute on this transformer's element with a property value on this transformer's type of object.  
Public MethodAllocateOverridden. Construct an object for this element by making a copy of the Prototype.  
Public MethodBooleanAttrRead an attribute's string value as a boolean. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodBooleanFromStringParse a string value as a boolean. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodColorArrayAttrRead an attribute's string value as an array of color values. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodColorArrayFromStringParse a string value as an array of color values. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodColorAttrRead an attribute's string value as a Color. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodColorFromStringParse a string value as a Color value. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodConsumeAttributesOverridden. This calls ConsumePortReferences (if HandlesNamedPorts is true), and ConsumeAttributeProperties.  
Public MethodConsumeBodyConsume elements that help define more details or parts of an object. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodConsumeChildOverridden. This handles nested XML elements when HandlesChildren or TreeStructured are true.  
Public MethodConsumeObjectFinishFinish building the object for the current element. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodGenerateAttributesOverridden. This calls GeneratePortReferences (if HandlesNamedPorts is true) and GenerateAttributeProperties.  
Public MethodGenerateBodyOverridden. This calls GoXmlWriter.GoXmlWriter.GenerateObject for child objects (if HandlesChildren is true) or for logical-child nodes (if TreeStructured is true).  
Public MethodGenerateDefinitionsOverridden. This calls GoXmlWriter.GoXmlWriter.DefineObject for child objects (if HandlesChildren is true) or for logical-child nodes (if TreeStructured is true).  
Public MethodGenerateElementOverridden. When the GoXmlReaderWriterBase.ParentObject's GoXmlBindingTransformer's HandlesChildAttributes property is true, call GenerateChildAttributes on that parent class's transformer to allow it to add attributes to the new element.  
Public MethodGenerateElementFinishFinish generating any elements that were started by GoXmlTransformer.GenerateElement. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodInt32ArrayAttrRead an attribute's string value as an array of integers. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodInt32ArrayFromStringParse a string value as an array of integers. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodInt32AttrRead an attribute's string value as an integer. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodInt32FromStringParse a string value as an integer. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodIsAttrPresentThis predicate returns true if the given attribute name is present in the current element when reading. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodPointFArrayAttrRead an attribute's string value as an array of PointF. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodPointFArrayFromStringParse a string value as an array of PointF. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodPointFAttrRead an attribute's string value as a PointF. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodPointFFromStringParse a string value as a PointF. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodReadTextBodyRead in a string that is the body of an element. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodRectangleFAttrRead an attribute's string value as a RectangleF. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodRectangleFFromStringParse a string value as a RectangleF. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodRefAttrFind a shared object referenced by a given attribute. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodSingleArrayAttrRead an attribute's string value as an array of single floats. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodSingleArrayFromStringParse a string value as an array of single floats. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodSingleAttrRead an attribute's string value as a single float. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodSingleFromStringParse a string value as a single float. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodSizeFAttrRead an attribute's string value as a SizeF. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodSizeFFromStringParse a string value as a SizeF. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodSkipGenerationReturn true if the GoXmlTransformer.Writer should not generate XML for an object. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodStringAttrReturn an attribute's string value. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodTypeAttrRead an attribute's string value as a Type. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodTypeFromStringParse a string value as a Type. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodUpdateReferenceOverridden. Fix up references to objects that did not yet exist when the attribute was read.  
Public MethodWriteAttrRefWrite an attribute of the name name with a string representation for the reference to the object val. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodWriteAttrValOverloaded. Write an attribute of the name name with a string representation for the value val. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodWriteEndElementFinish the current XML element started by a call to GoXmlTransformer.WriteStartElement. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodWriteStartElementStart a new XML element, with the name given by name. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Public MethodWriteTextBodyWrite out a string as the body of an element. (Inherited from Northwoods.Go.Xml.GoXmlTransformer)
Top
Protected Methods
 NameDescription
Protected MethodConsumeAttributePropertiesConsume attributes defined by AddBinding(String,String)  
Protected MethodConsumeChildAttributesThis is called on the parent's GoXmlBindingTransformer for each child object, when HandlesChildren and HandlesChildAttributes are true, to allow a parent object to read attributes of each child element.  
Protected MethodConsumePortReferencesRead attribute values that are references to named ports on the node obj.  
Protected MethodGenerateAttributePropertiesGenerate attributes defined by AddBinding(String,String).  
Protected MethodGenerateChildAttributesThis is called on the parent's GoXmlBindingTransformer for each child object, when HandlesChildren and HandlesChildAttributes are true, to allow a parent object to add attributes to each child element.  
Protected MethodGeneratePortReferencesWrite attribute values that are references to named ports on the node obj.  
Top
See Also

Reference

GoXmlBindingTransformer Class
Northwoods.Go.Xml Namespace
TreeStructured Property

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback