Class XML
- java.lang.Object
-
- org.glassfish.appclient.client.acc.config.util.XML
-
public class XML extends Object
Logic used during JAXB conversions between XML and objects.- Author:
- tjquinn
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XML.Password
-
Constructor Summary
Constructors Constructor Description XML()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
parseBoolean(String booleanText)
static String
parseProviderType(String providerType)
static Properties
toProperties(List<org.glassfish.appclient.client.acc.config.Property> props)
Converts the XML property elements (with name and value) to a Properties object.
-
-
-
Method Detail
-
parseBoolean
public static boolean parseBoolean(String booleanText)
-
toProperties
public static Properties toProperties(List<org.glassfish.appclient.client.acc.config.Property> props)
Converts the XML property elements (with name and value) to a Properties object.- Parameters:
props
- List of Property elements from the JAXB-converted client container element- Returns:
- corresponding Properties object
-
-