GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class
Properties Methods


In This Topic
    GoXmlTransformer Class Members
    In This Topic

    The following tables list the members exposed by GoXmlTransformer.

    Public Properties
     NameDescription
    Public PropertyGets or sets whether ConsumeBody should iterate over all of the child elements of this XML node, calling ConsumeObject for each one, and passing the result to ConsumeChild.  
    Public Property Gets or sets the name of the principal element used to render this object.  
    Public PropertyGets or sets whether this transformer writes child elements representing ports (IGoPort), if this transformer is operating on an IGoNode.  
    Public Property Gets or sets whether this transformer reads/writes the "id" attribute using the identifier associated with shared objects.  
    Public PropertyGets or sets a transformer from which this transformer will inherit implementation of the IGoXmlTransformer methods.  
    Public PropertyGets or sets the GoXmlReader that is using this transformer.  
    Public PropertyGet the Reader's GoXmlReader.ReaderNode, an XmlNode.  
    Public PropertyReturns the Type for which these transformer methods apply.  
    Public PropertyGets or sets the GoXmlWriter that is using this transformer.  
    Public PropertyGet the Writer's GoXmlWriter.WriterElement, an XmlElement.  
    Public PropertyGet the Reader's or the Writer's XmlDocument.  
    Public PropertyGet the Reader's XmlReader.  
    Public PropertyGet the Writer's GoXmlWriter.XmlWriter.  
    Top
    Public Methods
     NameDescription
    Public Method Override this method to construct a new object for the current XML element.  
    Public Method Read an attribute's string value as a boolean.  
    Public Method Parse a string value as a boolean.  
    Public Method Read an attribute's string value as an array of color values.  
    Public Method Parse a string value as an array of color values.  
    Public MethodRead an attribute's string value as a Color.  
    Public MethodParse a string value as a Color value.  
    Public Method Consume attributes for the current element, helping to initialize most of the object's properties.  
    Public Method Consume elements that help define more details or parts of an object.  
    Public MethodWhen BodyConsumesChildElements is true, ConsumeBody will call ConsumeObject on each child XML element and pass the resulting object to this method.  
    Public Method Finish building the object for the current element.  
    Public Method Read an attribute's string value as a double float.  
    Public Method Parse a string value as a double.  
    Public Method Generate attributes for the current element, helping to render an object.  
    Public Method Generate any nested elements that are part of the rendering of an object.  
    Public Method Generate elements for the definitions section of the document, rendering any shared objects that this object needs to refer to.  
    Public Method Start producing an XML element for a given object.  
    Public MethodFinish generating any elements that were started by GenerateElement.  
    Public Method Read an attribute's string value as an array of integers.  
    Public Method Parse a string value as an array of integers.  
    Public Method Read an attribute's string value as an integer.  
    Public Method Parse a string value as an integer.  
    Public Method This predicate returns true if the given attribute name is present in the current element when reading.  
    Public MethodRead an attribute's string value as an array of PointF.  
    Public MethodParse a string value as an array of PointF.  
    Public MethodRead an attribute's string value as a PointF.  
    Public MethodParse a string value as a PointF.  
    Public Method Read in a string that is the body of an element.  
    Public MethodRead an attribute's string value as a RectangleF.  
    Public MethodParse a string value as a RectangleF.  
    Public Method Find a shared object referenced by a given attribute.  
    Public Method Read an attribute's string value as an array of single floats.  
    Public Method Parse a string value as an array of single floats.  
    Public Method Read an attribute's string value as a single float.  
    Public Method Parse a string value as a single float.  
    Public MethodRead an attribute's string value as a SizeF.  
    Public MethodParse a string value as a SizeF.  
    Public MethodReturn true if the Writer should not generate XML for an object.  
    Public Method Return an attribute's string value.  
    Public MethodRead an attribute's string value as a Type.  
    Public MethodParse a string value as a Type.  
    Public Method Fix up a reference property whose value was delayed until the referred-to-object became available.  
    Public MethodWrite an attribute of the name name with a string representation for the reference to the object val.  
    Public MethodOverloaded.   
    Public MethodFinish the current XML element started by a call to WriteStartElement(String).  
    Public MethodStart a new XML element, with the name given by name.  
    Public Method Write out a string as the body of an element.  
    Top
    See Also