GoDiagram Web Reference
GoXmlReader Class Members
Properties  Methods 


The following tables list the members exposed by GoXmlReader.

Public Constructors
 NameDescription
Public ConstructorGoXmlReader ConstructorCreate a reader with a set of IGoXmlTransformers defined.  
Top
Public Properties
 NameDescription
Public PropertyGrandParentObjectGets the parent object of the current parent object when consuming or generating the body of an element. (Inherited from Northwoods.GoWeb.Xml.GoXmlReaderWriterBase)
Public PropertyObjectStackGets an List of Object acting as a stack of Objects that have been created during the walking of the XML tree during Consume, or that have been seen during Generate. (Inherited from Northwoods.GoWeb.Xml.GoXmlReaderWriterBase)
Public PropertyParentObjectGets the current parent object when consuming or generating the body of an element. (Inherited from Northwoods.GoWeb.Xml.GoXmlReaderWriterBase)
Public PropertyReaderNodeGets or sets the current XmlNode of the DOM that this reader is looking at.  
Public PropertyRootObjectGets or sets the object representing the root element of the XML document being read.  
Public PropertyUseDOMGets or sets whether the IGoXmlTransformers should use the XmlDocument or the XmlReader.  
Public PropertyUserObjectGets or sets an object holding additional information for use by your application; this property is not used by GoXml. (Inherited from Northwoods.GoWeb.Xml.GoXmlReaderWriterBase)
Public PropertyXmlDocumentGets the XmlDocument that was loaded from the stream/file.  
Public PropertyXmlReaderGets the XmlReader used to actually read XML from the input stream.  
Public PropertyXmlReaderSettingsGets or sets the XmlReaderSettings used in the call to XmlReader.Create to customize the XmlReader.  
Top
Public Methods
 NameDescription
Public MethodAddDelayedRefRemember an object, one of its properties, and the string representation of a reference to another object.  
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.GoWeb.Xml.GoXmlReaderWriterBase)
Public MethodClearAllDelayedsRemove all entries from the table of delayed references.  
Public MethodClearAllSharedsRemove all objects from the table of shared objects.  
Public MethodConsumeOverloaded. Start an XmlReader and consume XML.  
Public MethodConsumeObjectThis produces an object from the current element.  
Public MethodFindSharedLook up a shared object in a hashtable by identifier.  
Public MethodFindTransformerReturns the first IGoXmlTransformer associated with a given type or its base types. (Inherited from Northwoods.GoWeb.Xml.GoXmlReaderWriterBase)
Public MethodGetTransformerReturns the IGoXmlTransformer associated with a given type. (Inherited from Northwoods.GoWeb.Xml.GoXmlReaderWriterBase)
Public MethodInvokeAllocateCall the Allocate method of the IGoXmlTransformer that is associated with its IGoXmlTransformer.ElementName.  
Public MethodInvokeConsumeAttributesCall the IGoXmlTransformer.ConsumeAttributes method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeConsumeBodyCall the ConsumeBody method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeConsumeChildCall the IGoXmlTransformer.ConsumeChild method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeConsumeObjectFinishCall the IGoXmlTransformer.ConsumeObjectFinish method of the IGoXmlTransformer that is associated with the given type.  
Public MethodInvokeUpdateReferenceCall the IGoXmlTransformer.UpdateReference method of the IGoXmlTransformer that is associated with the given type.  
Public MethodMakeSharedRemember an object in a hashtable, using a particular identifier name.  
Public MethodProcessDelayedObjectsThis method fixes up any objects that had references that were unable to be resolved during the regular Consume steps.  
Public MethodReadAttrValReturn an attribute's string value.  
Public MethodReadTextBodyReturn the body of the current text element as a string, ignoring any nested elements.  
Public MethodRegisterTransformersThis method creates instances of all of the standard IGoXmlTransformers to be used when generating XML. (Inherited from Northwoods.GoWeb.Xml.GoXmlReaderWriterBase)
Public MethodSetTransformerCause this XML writer to use the given IGoXmlTransformer for objects of the type given by t. (Inherited from Northwoods.GoWeb.Xml.GoXmlReaderWriterBase)
Top
Protected Methods
 NameDescription
Protected MethodConsumeInstructionsConsume XML instructions before the root element.  
Protected MethodConsumeRootAttributesConsume attributes for the root element.  
Protected MethodConsumeRootBodyCall ConsumeObject for each element found in the root element.  
Protected MethodConsumeRootElementStart the root element.  
Protected MethodInitializeDo the initialization needed by Consume(XmlReader) and Consume(XmlDocument).  
Protected MethodLoadDOMThis method constructs and loads an XmlDocument from the XmlReader if UseDOM is true.  
Protected MethodSetXmlDocumentOnly a subclass of a GoXmlReader can provide a value for the DOM.  
Protected MethodSetXmlReaderOnly a subclass of a GoXmlReader can provide a value for the XmlReader property.  
Top
See Also

Reference

GoXmlReader Class
Northwoods.GoWeb.Xml Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback