com.esri.arcgis.display
Class SimpleTextParser

java.lang.Object
  extended by com.esri.arcgis.display.SimpleTextParser
All Implemented Interfaces:
ITextParser, com.esri.arcgis.interop.RemoteObjRef, IPersist, java.io.Serializable

public class SimpleTextParser
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITextParser, IPersist

COM Class 'SimpleTextParser'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description 'Simple text parser object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.display.ITextParser
IID, IID55d9f654_5cde_4842_8e47_70518079fe1a, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID, IID0000010c_0000_0000_c000_000000000046, xxDummy
 
Constructor Summary
SimpleTextParser()
          Constructs a SimpleTextParser using ArcGIS Engine.
SimpleTextParser(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SimpleTextParser theSimpleTextParser = (SimpleTextParser) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getText()
          Text to parse.
 ITextSymbol getTextSymbol()
          The text symbol.
 int hashCode()
          the hashcode for this object
 void hasTags(boolean[] hasTags)
          Returns true if the text contains tags and false if it does not.
 void next()
          Parses the next tag and string and sets the TextSymbol accordingly.
 void release()
          Release a SimpleTextParser.
 void reset()
          Resets the text string tag sequence to the beginning.
 void setText(java.lang.String text)
          Text to parse.
 void setTextSymbolByRef(ITextSymbol textSym)
          The text symbol.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTextParser

public SimpleTextParser()
                 throws java.io.IOException,
                        java.net.UnknownHostException
Constructs a SimpleTextParser using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SimpleTextParser

public SimpleTextParser(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SimpleTextParser theSimpleTextParser = (SimpleTextParser) obj;

Construct a SimpleTextParser using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SimpleTextParser.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SimpleTextParser.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getTextSymbol

public ITextSymbol getTextSymbol()
                          throws java.io.IOException,
                                 AutomationException
The text symbol.

Specified by:
getTextSymbol in interface ITextParser
Returns:
A reference to a com.esri.arcgis.display.ITextSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextSymbolByRef

public void setTextSymbolByRef(ITextSymbol textSym)
                        throws java.io.IOException,
                               AutomationException
The text symbol.

Specified by:
setTextSymbolByRef in interface ITextParser
Parameters:
textSym - A reference to a com.esri.arcgis.display.ITextSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getText

public java.lang.String getText()
                         throws java.io.IOException,
                                AutomationException
Text to parse.

Specified by:
getText in interface ITextParser
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setText

public void setText(java.lang.String text)
             throws java.io.IOException,
                    AutomationException
Text to parse.

Specified by:
setText in interface ITextParser
Parameters:
text - The text (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasTags

public void hasTags(boolean[] hasTags)
             throws java.io.IOException,
                    AutomationException
Returns true if the text contains tags and false if it does not.

Specified by:
hasTags in interface ITextParser
Parameters:
hasTags - The hasTags (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public void next()
          throws java.io.IOException,
                 AutomationException
Parses the next tag and string and sets the TextSymbol accordingly.

Specified by:
next in interface ITextParser
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets the text string tag sequence to the beginning.

Specified by:
reset in interface ITextParser
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.