Package org.apache.ivy.util.extendable
Class ExtendableItemHelper
java.lang.Object
org.apache.ivy.util.extendable.ExtendableItemHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
decodeAttribute
(String blob, String prefix) Decode qualified attribute name from blob.static String
encodeAttribute
(String attribute, String prefix) Encode qualified attribute name into blob to be used in XML report.static void
fillExtraAttributes
(ParserSettings settings, DefaultExtendableItem item, Attributes attributes, String[] ignoredAttNames) Deprecated.static void
fillExtraAttributes
(ParserSettings settings, DefaultExtendableItem item, Attributes attributes, List<String> ignoredAttNames) getExtraAttributes
(ParserSettings settings, Attributes attributes, String[] ignoredAttNames) Deprecated.getExtraAttributes
(ParserSettings settings, Attributes attributes, List<String> ignoredAttNames) Extract from the XML attribute the extra Ivy onesgetExtraAttributes
(Attributes attributes, String prefix)
-
Method Details
-
decodeAttribute
Decode qualified attribute name from blob.- Parameters:
blob
- Encoded attribute nameprefix
- Prefix used during encoding- Returns:
- String
- See Also:
-
encodeAttribute
Encode qualified attribute name into blob to be used in XML report.- Parameters:
attribute
- Qualified (or unqualified) attribute nameprefix
- Prefix- Returns:
- String
- See Also:
-
getExtraAttributes
-
getExtraAttributes
@Deprecated public static Map<String,String> getExtraAttributes(ParserSettings settings, Attributes attributes, String[] ignoredAttNames) Deprecated. -
getExtraAttributes
public static Map<String,String> getExtraAttributes(ParserSettings settings, Attributes attributes, List<String> ignoredAttNames) Extract from the XML attribute the extra Ivy ones- Parameters:
settings
- ParserSettingsattributes
- AttributesignoredAttNames
- the XML attributes names which are not extra but Ivy core ones- Returns:
- Map<String,String>
-
fillExtraAttributes
@Deprecated public static void fillExtraAttributes(ParserSettings settings, DefaultExtendableItem item, Attributes attributes, String[] ignoredAttNames) Deprecated. -
fillExtraAttributes
public static void fillExtraAttributes(ParserSettings settings, DefaultExtendableItem item, Attributes attributes, List<String> ignoredAttNames)
-