PATH |
EOXMLUnarchiver
Inherits from: Object
Package: com.webobjects.eoapplication
Class Description
EOXMLUnarchiver objects contain the parameters used to create controllers (objects of the EOController class and its descendents) in the controller hierarchy. The parameters are determined from an XML specification sent from server.
For more information on using this class, see the book Getting Started with Direct to Java Client.
Constants
EOXMLUnarchiver defines the following String constants:
Constant | Description |
ActionKeyParameter | |
ActionNameParameter | |
ActionPriorityParameter | |
ActionWidgetPositionParameter | |
AlignmentParameter | |
AlignmentWidthParameter | |
AlignsComponentsParameter | |
AllowsMultipleSelectionParameter | |
ArchiveNameParameter | |
BorderTypeParameter | |
ButtonPositionParameter | |
CategoryNameParameter | |
CategoryPriorityParameter | |
ClassNameParameter | |
ColorParameter | |
DescriptionPathParameter | |
DisabledActionNamesParameter | |
DisplayGroupProviderMethodNameParameter | |
DisplaysLabelInWidgetParameter | |
DisposeIfDeactivatedParameter | |
EditabilityParameter | |
EditingContextProviderMethodNameParameter | |
EnabledDisplayGroupProviderMethodNameParameter | |
EnabledKeyParameter | |
EntityParameter | |
FontParameter | |
FormatAllowedParameter | |
FormatClassParameter | |
FormatPatternParameter | |
HighlightParameter | |
HorizontalBorderParameter | |
HorizontallyResizableParameter | |
IconNameParameter | |
IconURLParameter | |
ImageScalingParameter | |
IsQueryWidgetParameter | |
LabelAlignmentParameter | |
LabelComponentPositionParameter | |
LabelParameter | |
MandatoryRelationshipPathsParameter | |
MaximumValueKeyParameter | |
MenuAcceleratorParameter | |
MinimumHeightParameter | |
MinimumValueKeyParameter | |
MinimumWidthParameter | |
MultipleWindowsAvailableParameter | |
PrefersIconOnlyParameter | |
QuickTimeCanvasResizingParameter | |
RelationshipPathParameter | |
ScalingHintsParameter | |
SendsActionToAllControllersParameter | |
SharedIdentifierParameter | |
ShortDescriptionParameter | |
SmallIconNameParameter | |
SmallIconURLParameter | |
SortsByColumnOrderParameter | |
TaskParameter | |
TitleKeysParameter | |
TitlePositionParameter | |
TitlesDisplayGroupProviderMethodNameParameter | |
TitlesEntityParameter | |
TypeNameParameter | |
URLKeyParameter | |
UsesActionParameter | |
UsesButtonParameter | |
UsesHorizontalLayoutParameter | |
UsesLabelComponentParameter | |
UsesLargeButtonRepresentationParameter | |
UsesTitledBorderParameter | |
UsesUserDefaultsWindowLocationParameter | |
UsesUserDefaultsWindowSizeParameter | |
ValueKeyParameter | |
VerticalBorderParameter | |
VerticallyResizableParameter | |
WindowPositionParameter |
Method Types
Decoding objects decodeAlignmentForKey decodeArrayForKey decodeBooleanForKey decodeClassForKey decodeColorForKey decodeDictionaryForKey decodeEditabilityForKey decodeFontForKey decodeIntForKey decodePositionForKey decodeStringForKey decodeValueForKey Other methods EOXMLUnarchiver decodeRootObject decodeChildren
Constructors
EOXMLUnarchiver
public EOXMLUnarchiver(NSDictionary values)
Static Methods
decodeRootObject
public static Object decodeRootObject(NSDictionary aNSDictionary)
Instance Methods
decodeAlignmentForKey
public int decodeAlignmentForKey( String key, int defaultAlignment)
JTextField.LEFT
, JTextField.CENTER
, or JTextField.RIGHT
) for the key XML attribute. If no value for key is specified, returns defaultAlignment.
public int decodeAlignmentForKey(String key)
JTextField.LEFT
, JTextField.CENTER
, or JTextField.RIGHT
) for the key XML attribute. If no value for key is specified, returns JTextField.LEFT
.
decodeArrayForKey
public NSArray decodeArrayForKey( String key, NSArray defaultArray)
public NSArray decodeArrayForKey(String key)
null
.
decodeBooleanForKey
public boolean decodeBooleanForKey( String key, boolean defaultBoolean)
boolean
for the key XML attribute. If no value for key is specified, returns defaultBoolean.
public boolean decodeBooleanForKey(String key)
boolean
for key XML attribute. If no value for key is specified, returns false
.
decodeChildren
public NSArray decodeChildren()
decodeClassForKey
public Class decodeClassForKey( String key, Class defaultClass)
public Class decodeClassForKey(String key)
null
.
decodeColorForKey
public java.awt.Color decodeColorForKey( String key, java.awt.Color defaultColor)
public java.awt.Color decodeColorForKey(String key)
null
.
decodeDictionaryForKey
public NSDictionary decodeDictionaryForKey( String key, NSDictionary defaultDictionary)
public NSDictionary decodeDictionaryForKey(String key)
null
.
decodeEditabilityForKey
public int decodeEditabilityForKey( String key, int defaultEditability)
EOEditable.IfSupercontrollerEditable
, EOEditable.AlwaysEditable
, or EOEditable.NeverEditable
) for the key XML attribute. If no value for key is specified, returns defaultEditibility.
public int decodeEditabilityForKey(String key)
EOEditable.IfSupercontrollerEditable
, EOEditable.AlwaysEditable
, or EOEditable.NeverEditable
) for the key XML attribute. If no value for key is specified, returns EOEditable.IfSupercontollerEditable
.
decodeFontForKey
public java.awt.Font decodeFontForKey( String key, java.awt.Font defaultFont)
public java.awt.Font decodeFontForKey(String key)
null
.
decodeIntForKey
public int decodeIntForKey( String key, int defaultInt)
int
for the key XML attribute. If no value for key is specified, returns defaultInt.
public int decodeIntForKey(String key)
int
for the key XML attribute. If no value for key is specified, returns 0.
decodePositionForKey
public int decodePositionForKey( String key, int defaultPosition)
EOComponentController.Top
, EOComponentController.Bottom
, EOComponentController.Left
, EOComponentController.Right
, EOComponentController.TopLeft
, EOComponentController.TopRight
, EOComponentController.BottomLeft
, or EOComponentController.BottomRight
) for the key XML attribute. If no value for key is specified, returns defaultPosition.
public int decodePositionForKey(String key)
EOComponentController.Top
, EOComponentController.Bottom
, EOComponentController.Left
, EOComponentController.Right
, EOComponentController.TopLeft
, EOComponentController.TopRight
, EOComponentController.BottomLeft
, or EOComponentController.BottomRight
) for the key XML attribute. If no value for key is specified, returns EOComponentController.Center
.
decodeStringForKey
public String decodeStringForKey( String key, String defaultString)
public String decodeStringForKey(String key)
null
.
decodeValueForKey
public Object decodeValueForKey(String key)
null
.
© 2001 Apple Computer, Inc. (Last Published April 14, 2001)