buf.append( "\n" ); buf.append( "custom = '" ); buf.append( getCustom() ); buf.append( "'" );
/** * Processes the decoration model, acquiring the skin and page * configuration. * <p> * The decoration model are the contents of the site.xml file. * * @param model * decoration data */ private final void processDecoration(final DecorationModel model) { final Object customObj; // Object for the <custom> node final Xpp3Dom customNode; // <custom> node final Xpp3Dom skinNode; // <skinConfig> node customObj = model.getCustom(); if (customObj instanceof Xpp3Dom) { // This is the <custom> node in the site.xml file customNode = (Xpp3Dom) customObj; // Acquires <skinConfig> node skinNode = customNode.getChild(ConfigToolConstants.SKIN_KEY); if (skinNode == null) { setSkinConfig(new Xpp3Dom("")); } else { setSkinConfig(skinNode); } } }
Object customObj = decoration.getCustom();
Object customObj = decoration.getCustom();
result = result && ( getSkin() == null ? that.getSkin() == null : getSkin().equals( that.getSkin() ) ); result = result && ( getBody() == null ? that.getBody() == null : getBody().equals( that.getBody() ) ); result = result && ( getCustom() == null ? that.getCustom() == null : getCustom().equals( that.getCustom() ) );