Package org.foray.fotree.axsl.obj

Examples of org.foray.fotree.axsl.obj.Metadata


        for (FObj node : this.getChildren()) {
            if (node instanceof ColorProfile) {
                this.colorProfiles[colorProfileCount] = (ColorProfile) node;
                colorProfileCount ++;
            } else if (node instanceof Metadata) {
                final Metadata metadata = (Metadata) node;
                final String key = metadata.getMetadataName();
                /* Does it already exist? */
                final Metadata existingMetadata = this.metadata.get(key);
                if (existingMetadata != null) {
                    throwException("fo:metadata for \"" + key
                            + "\" cannot be declared more than once.");
                }
                this.metadata.put(key, metadata);
View Full Code Here


    private String getMetadataValue(final String key) {
        final Declarations declarations = this.getDeclarations();
        if (declarations == null) {
            return null;
        }
        final Metadata metadata = declarations.getMetadata(key);
        if (metadata == null) {
            return "";
        }
        return metadata.getMetadataValue();
    }
View Full Code Here

            final PropertyList propertyList, final Locator locator) {
        final AxslObject enumeration = AxslObject.extensionValueOf(
                objectName);
        switch (enumeration) {
        case METADATA: {
            return new Metadata(parent, propertyList);
        }
        default: {
            return null;
        }
        }
View Full Code Here

TOP

Related Classes of org.foray.fotree.axsl.obj.Metadata

Copyright © 2018 www.massapicom. 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.