Examples of ConfigProperty


Examples of org.sonatype.plexus.components.sec.dispatcher.model.ConfigProperty

     * @return ConfigProperty
     */
    private ConfigProperty parseConfigProperty( String tagName, XmlPullParser parser, boolean strict )
        throws IOException, XmlPullParserException
    {
        ConfigProperty configProperty = new ConfigProperty();
        java.util.Set parsed = new java.util.HashSet();
        while ( parser.nextTag() == XmlPullParser.START_TAG )
        {
            if ( checkFieldWithDuplicate( parser, "name", null, parsed ) )
            {
                configProperty.setName( getTrimmedValue( parser.nextText() ) );
            }
            else if ( checkFieldWithDuplicate( parser, "value", null, parsed ) )
            {
                configProperty.setValue( getTrimmedValue( parser.nextText() ) );
            }
            else
            {
                if ( strict )
                {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.