PATH |
Inherits from: Object
Package: com.webobjects.eoapplication
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.
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 |
Decoding objects decodeAlignmentForKey decodeArrayForKey decodeBooleanForKey decodeClassForKey decodeColorForKey decodeDictionaryForKey decodeEditabilityForKey decodeFontForKey decodeIntForKey decodePositionForKey decodeStringForKey decodeValueForKey Other methods EOXMLUnarchiver decodeRootObject decodeChildren
public EOXMLUnarchiver(NSDictionary values)
public static Object decodeRootObject(NSDictionary aNSDictionary)
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
.
public NSArray decodeArrayForKey( String key, NSArray defaultArray)
public NSArray decodeArrayForKey(String key)
null
.
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
.
public NSArray decodeChildren()
public Class decodeClassForKey( String key, Class defaultClass)
public Class decodeClassForKey(String key)
null
.
public java.awt.Color decodeColorForKey( String key, java.awt.Color defaultColor)
public java.awt.Color decodeColorForKey(String key)
null
.
public NSDictionary decodeDictionaryForKey( String key, NSDictionary defaultDictionary)
public NSDictionary decodeDictionaryForKey(String key)
null
.
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
.
public java.awt.Font decodeFontForKey( String key, java.awt.Font defaultFont)
public java.awt.Font decodeFontForKey(String key)
null
.
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.
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
.
public String decodeStringForKey( String key, String defaultString)
public String decodeStringForKey(String key)
null
.
public Object decodeValueForKey(String key)
null
.
© 2001 Apple Computer, Inc. (Last Published April 14, 2001)