USRE-86 change the name of package
This commit is contained in:
parent
68ff600b10
commit
c3b03bf455
2
pom.xml
2
pom.xml
|
@ -1,7 +1,7 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.ossez.rets-io</groupId>
|
<groupId>com.ossez.usreio</groupId>
|
||||||
<artifactId>rets-io-client</artifactId>
|
<artifactId>rets-io-client</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.security.GeneralSecurityException;
|
import java.security.GeneralSecurityException;
|
||||||
import java.security.MessageDigest;
|
import java.security.MessageDigest;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.dom4j.Document;
|
import org.dom4j.Document;
|
||||||
import org.dom4j.Element;
|
import org.dom4j.Element;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
|
@ -1,10 +1,10 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap;
|
import com.ossez.usreio.common.util.CaseInsensitiveTreeMap;
|
||||||
import org.apache.commons.codec.digest.DigestUtils;
|
import org.apache.commons.codec.digest.DigestUtils;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.http.Header;
|
import org.apache.http.Header;
|
|
@ -1,11 +1,11 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.zip.GZIPInputStream;
|
import java.util.zip.GZIPInputStream;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap;
|
import com.ossez.usreio.common.util.CaseInsensitiveTreeMap;
|
||||||
import org.apache.commons.lang3.ArrayUtils;
|
import org.apache.commons.lang3.ArrayUtils;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.http.Header;
|
import org.apache.http.Header;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* on the off chance you need an ad hoc request object...
|
* on the off chance you need an ad hoc request object...
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.JDomCompactBuilder;
|
import com.ossez.usreio.common.metadata.JDomCompactBuilder;
|
||||||
import com.ossez.reoc.rets.common.metadata.JDomStandardBuilder;
|
import com.ossez.usreio.common.metadata.JDomStandardBuilder;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataException;
|
import com.ossez.usreio.common.metadata.MetadataException;
|
||||||
import org.apache.commons.lang3.math.NumberUtils;
|
import org.apache.commons.lang3.math.NumberUtils;
|
||||||
import org.dom4j.Document;
|
import org.dom4j.Document;
|
||||||
import org.dom4j.DocumentException;
|
import org.dom4j.DocumentException;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.Closeable;
|
import java.io.Closeable;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
|
@ -1,11 +1,11 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap;
|
import com.ossez.usreio.common.util.CaseInsensitiveTreeMap;
|
||||||
import org.apache.commons.lang3.math.NumberUtils;
|
import org.apache.commons.lang3.math.NumberUtils;
|
||||||
import org.apache.http.HeaderElement;
|
import org.apache.http.HeaderElement;
|
||||||
import org.apache.http.NameValuePair;
|
import org.apache.http.NameValuePair;
|
||||||
|
@ -14,7 +14,6 @@ import org.dom4j.Document;
|
||||||
import org.dom4j.DocumentException;
|
import org.dom4j.DocumentException;
|
||||||
import org.dom4j.Element;
|
import org.dom4j.Element;
|
||||||
import org.dom4j.io.SAXReader;
|
import org.dom4j.io.SAXReader;
|
||||||
import org.w3c.dom.DOMException;
|
|
||||||
|
|
||||||
public class GetObjectResponse{
|
public class GetObjectResponse{
|
||||||
private static final int DEFAULT_BUFFER_SIZE = 8192;
|
private static final int DEFAULT_BUFFER_SIZE = 8192;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.BufferedInputStream;
|
import java.io.BufferedInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
public class InvalidArgumentException extends RetsException {
|
public class InvalidArgumentException extends RetsException {
|
||||||
public InvalidArgumentException(String message) {
|
public InvalidArgumentException(String message) {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.apache.http.StatusLine;
|
import org.apache.http.StatusLine;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.apache.commons.lang3.SystemUtils;
|
import org.apache.commons.lang3.SystemUtils;
|
||||||
/**
|
/**
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
public interface InvalidReplyCodeHandler {
|
public interface InvalidReplyCodeHandler {
|
||||||
InvalidReplyCodeHandler FAIL = new InvalidReplyCodeHandler() {
|
InvalidReplyCodeHandler FAIL = new InvalidReplyCodeHandler() {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.apache.commons.lang3.ArrayUtils;
|
import org.apache.commons.lang3.ArrayUtils;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
@ -16,7 +16,7 @@ import java.util.Arrays;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static com.ossez.reoc.rets.client.CapabilityUrls.LOGIN_URL;
|
import static com.ossez.usreio.client.CapabilityUrls.LOGIN_URL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process key and Value
|
* Process key and Value
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
public class LoginRequest extends VersionInsensitiveRequest {
|
public class LoginRequest extends VersionInsensitiveRequest {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.commons.lang3.math.NumberUtils;
|
import org.apache.commons.lang3.math.NumberUtils;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
public class LogoutRequest extends VersionInsensitiveRequest {
|
public class LogoutRequest extends VersionInsensitiveRequest {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
|
@ -1,8 +1,8 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaCollector;
|
import com.ossez.usreio.common.metadata.MetaCollector;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
public class MetaCollectorImpl extends MetaCollectorAdapter {
|
public class MetaCollectorImpl extends MetaCollectorAdapter {
|
||||||
private final RetsTransport mTransport;
|
private final RetsTransport mTransport;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A client can register a monitor for network events
|
* A client can register a monitor for network events
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
public class NullNetworkEventMonitor implements NetworkEventMonitor {
|
public class NullNetworkEventMonitor implements NetworkEventMonitor {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author jrayburn
|
* @author jrayburn
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author YuCheng Hu
|
* @author YuCheng Hu
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
|
|
||||||
public abstract class RetsHttpClient {
|
public abstract class RetsHttpClient {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
@ -8,7 +8,7 @@ import java.util.Map;
|
||||||
import java.util.SortedMap;
|
import java.util.SortedMap;
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap;
|
import com.ossez.usreio.common.util.CaseInsensitiveTreeMap;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.Metadata;
|
import com.ossez.usreio.common.metadata.Metadata;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataException;
|
import com.ossez.usreio.common.metadata.MetadataException;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
|
|
||||||
import java.io.FileWriter;
|
import java.io.FileWriter;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.JDomCompactBuilder;
|
import com.ossez.usreio.common.metadata.JDomCompactBuilder;
|
||||||
import com.ossez.reoc.rets.common.metadata.JDomStandardBuilder;
|
import com.ossez.usreio.common.metadata.JDomStandardBuilder;
|
||||||
import com.ossez.reoc.rets.common.metadata.Metadata;
|
import com.ossez.usreio.common.metadata.Metadata;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataBuilder;
|
import com.ossez.usreio.common.metadata.MetadataBuilder;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.dom4j.Document;
|
import org.dom4j.Document;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import org.apache.commons.codec.DecoderException;
|
import org.apache.commons.codec.DecoderException;
|
||||||
import org.apache.commons.codec.EncoderException;
|
import org.apache.commons.codec.EncoderException;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface for a setting properties of a result from a query (used by SearchResultHandler)
|
* Interface for a setting properties of a result from a query (used by SearchResultHandler)
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface that describes high level information
|
* Interface that describes high level information
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.Reader;
|
import java.io.Reader;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Iterator style interface for processing the results
|
* Iterator style interface for processing the results
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap;
|
import com.ossez.usreio.common.util.CaseInsensitiveTreeMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Representation of a single object returned
|
* Representation of a single object returned
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.FilterInputStream;
|
import java.io.FilterInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.Reader;
|
import java.io.Reader;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
public abstract class VersionInsensitiveRequest extends RetsHttpRequest {
|
public abstract class VersionInsensitiveRequest extends RetsHttpRequest {
|
||||||
/**
|
/**
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.StringTokenizer;
|
import java.util.StringTokenizer;
|
||||||
|
@ -16,22 +15,22 @@ import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.dom4j.*;
|
import org.dom4j.*;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MClass;
|
import com.ossez.usreio.common.metadata.types.MClass;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MEditMask;
|
import com.ossez.usreio.common.metadata.types.MEditMask;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MLookup;
|
import com.ossez.usreio.common.metadata.types.MLookup;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MLookupType;
|
import com.ossez.usreio.common.metadata.types.MLookupType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MObject;
|
import com.ossez.usreio.common.metadata.types.MObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MResource;
|
import com.ossez.usreio.common.metadata.types.MResource;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MSearchHelp;
|
import com.ossez.usreio.common.metadata.types.MSearchHelp;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MSystem;
|
import com.ossez.usreio.common.metadata.types.MSystem;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MTable;
|
import com.ossez.usreio.common.metadata.types.MTable;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdate;
|
import com.ossez.usreio.common.metadata.types.MUpdate;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdateType;
|
import com.ossez.usreio.common.metadata.types.MUpdateType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExpression;
|
import com.ossez.usreio.common.metadata.types.MValidationExpression;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExternal;
|
import com.ossez.usreio.common.metadata.types.MValidationExternal;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExternalType;
|
import com.ossez.usreio.common.metadata.types.MValidationExternalType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationLookup;
|
import com.ossez.usreio.common.metadata.types.MValidationLookup;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationLookupType;
|
import com.ossez.usreio.common.metadata.types.MValidationLookupType;
|
||||||
import org.dom4j.io.SAXReader;
|
import org.dom4j.io.SAXReader;
|
||||||
import org.xml.sax.InputSource;
|
import org.xml.sax.InputSource;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
|
@ -13,24 +13,24 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MClass;
|
import com.ossez.usreio.common.metadata.types.MClass;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MEditMask;
|
import com.ossez.usreio.common.metadata.types.MEditMask;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MForeignKey;
|
import com.ossez.usreio.common.metadata.types.MForeignKey;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MLookup;
|
import com.ossez.usreio.common.metadata.types.MLookup;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MLookupType;
|
import com.ossez.usreio.common.metadata.types.MLookupType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MObject;
|
import com.ossez.usreio.common.metadata.types.MObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MResource;
|
import com.ossez.usreio.common.metadata.types.MResource;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MSearchHelp;
|
import com.ossez.usreio.common.metadata.types.MSearchHelp;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MSystem;
|
import com.ossez.usreio.common.metadata.types.MSystem;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MTable;
|
import com.ossez.usreio.common.metadata.types.MTable;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdate;
|
import com.ossez.usreio.common.metadata.types.MUpdate;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdateHelp;
|
import com.ossez.usreio.common.metadata.types.MUpdateHelp;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdateType;
|
import com.ossez.usreio.common.metadata.types.MUpdateType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExpression;
|
import com.ossez.usreio.common.metadata.types.MValidationExpression;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExternal;
|
import com.ossez.usreio.common.metadata.types.MValidationExternal;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExternalType;
|
import com.ossez.usreio.common.metadata.types.MValidationExternalType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationLookup;
|
import com.ossez.usreio.common.metadata.types.MValidationLookup;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationLookupType;
|
import com.ossez.usreio.common.metadata.types.MValidationLookupType;
|
||||||
import org.dom4j.Attribute;
|
import org.dom4j.Attribute;
|
||||||
import org.dom4j.Document;
|
import org.dom4j.Document;
|
||||||
import org.dom4j.Element;
|
import org.dom4j.Element;
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
@ -9,20 +9,20 @@ import java.util.Iterator;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap;
|
import com.ossez.usreio.common.util.CaseInsensitiveTreeMap;
|
||||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrAlphanum;
|
import com.ossez.usreio.common.metadata.attrib.AttrAlphanum;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrBoolean;
|
import com.ossez.usreio.common.metadata.attrib.AttrBoolean;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrDate;
|
import com.ossez.usreio.common.metadata.attrib.AttrDate;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrNumeric;
|
import com.ossez.usreio.common.metadata.attrib.AttrNumeric;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrNumericPositive;
|
import com.ossez.usreio.common.metadata.attrib.AttrNumericPositive;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrPlaintext;
|
import com.ossez.usreio.common.metadata.attrib.AttrPlaintext;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrText;
|
import com.ossez.usreio.common.metadata.attrib.AttrText;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrVersion;
|
import com.ossez.usreio.common.metadata.attrib.AttrVersion;
|
||||||
|
|
||||||
public abstract class MetaObject implements Serializable {
|
public abstract class MetaObject implements Serializable {
|
||||||
private static final Log LOG = LogFactory.getLog(MetaObject.class);
|
private static final Log LOG = LogFactory.getLog(MetaObject.class);
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
public class MetaParseException extends MetadataException {
|
public class MetaParseException extends MetadataException {
|
||||||
public MetaParseException() {
|
public MetaParseException() {
|
|
@ -1,19 +1,19 @@
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MSystem;
|
import com.ossez.usreio.common.metadata.types.MSystem;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MResource;
|
import com.ossez.usreio.common.metadata.types.MResource;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MForeignKey;
|
import com.ossez.usreio.common.metadata.types.MForeignKey;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MClass;
|
import com.ossez.usreio.common.metadata.types.MClass;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MTable;
|
import com.ossez.usreio.common.metadata.types.MTable;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdate;
|
import com.ossez.usreio.common.metadata.types.MUpdate;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdateType;
|
import com.ossez.usreio.common.metadata.types.MUpdateType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MObject;
|
import com.ossez.usreio.common.metadata.types.MObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExternal;
|
import com.ossez.usreio.common.metadata.types.MValidationExternal;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationLookup;
|
import com.ossez.usreio.common.metadata.types.MValidationLookup;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MLookup;
|
import com.ossez.usreio.common.metadata.types.MLookup;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MSearchHelp;
|
import com.ossez.usreio.common.metadata.types.MSearchHelp;
|
||||||
|
|
||||||
public class Metadata implements Serializable {
|
public class Metadata implements Serializable {
|
||||||
|
|
|
@ -5,26 +5,26 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MClass;
|
import com.ossez.usreio.common.metadata.types.MClass;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MEditMask;
|
import com.ossez.usreio.common.metadata.types.MEditMask;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MForeignKey;
|
import com.ossez.usreio.common.metadata.types.MForeignKey;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MLookup;
|
import com.ossez.usreio.common.metadata.types.MLookup;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MLookupType;
|
import com.ossez.usreio.common.metadata.types.MLookupType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MObject;
|
import com.ossez.usreio.common.metadata.types.MObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MResource;
|
import com.ossez.usreio.common.metadata.types.MResource;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MSearchHelp;
|
import com.ossez.usreio.common.metadata.types.MSearchHelp;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MSystem;
|
import com.ossez.usreio.common.metadata.types.MSystem;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MTable;
|
import com.ossez.usreio.common.metadata.types.MTable;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdate;
|
import com.ossez.usreio.common.metadata.types.MUpdate;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdateHelp;
|
import com.ossez.usreio.common.metadata.types.MUpdateHelp;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MUpdateType;
|
import com.ossez.usreio.common.metadata.types.MUpdateType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExpression;
|
import com.ossez.usreio.common.metadata.types.MValidationExpression;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExternal;
|
import com.ossez.usreio.common.metadata.types.MValidationExternal;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationExternalType;
|
import com.ossez.usreio.common.metadata.types.MValidationExternalType;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationLookup;
|
import com.ossez.usreio.common.metadata.types.MValidationLookup;
|
||||||
import com.ossez.reoc.rets.common.metadata.types.MValidationLookupType;
|
import com.ossez.usreio.common.metadata.types.MValidationLookupType;
|
||||||
|
|
||||||
public abstract class MetadataBuilder {
|
public abstract class MetadataBuilder {
|
||||||
protected MetadataBuilder() {
|
protected MetadataBuilder() {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
public enum MetadataElement {
|
public enum MetadataElement {
|
||||||
SYSTEM("System"),// might need to provide enumeration for different versions 1.5 vs 1.7
|
SYSTEM("System"),// might need to provide enumeration for different versions 1.5 vs 1.7
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
|
|
||||||
public class MetadataException extends Exception {
|
public class MetadataException extends Exception {
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata;
|
package com.ossez.usreio.common.metadata;
|
||||||
|
|
||||||
public enum MetadataType {
|
public enum MetadataType {
|
||||||
EDITMASK,
|
EDITMASK,
|
|
@ -5,10 +5,10 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public abstract class AttrAbstractText implements AttrType<String> {
|
public abstract class AttrAbstractText implements AttrType<String> {
|
||||||
protected int min;
|
protected int min;
|
|
@ -5,9 +5,9 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public class AttrAlphanum extends AttrAbstractText {
|
public class AttrAlphanum extends AttrAbstractText {
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public class AttrBoolean implements AttrType<Boolean> {
|
public class AttrBoolean implements AttrType<Boolean> {
|
||||||
public Boolean parse(String value, boolean strict) throws MetaParseException {
|
public Boolean parse(String value, boolean strict) throws MetaParseException {
|
|
@ -11,15 +11,15 @@
|
||||||
* 2011-06-01T18:06:58
|
* 2011-06-01T18:06:58
|
||||||
* should find a more elegant way
|
* should find a more elegant way
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
//import java.text.DateFormat;
|
//import java.text.DateFormat;
|
||||||
//import java.text.ParseException;
|
//import java.text.ParseException;
|
||||||
//import java.text.SimpleDateFormat;
|
//import java.text.SimpleDateFormat;
|
||||||
//import java.util.Date;
|
//import java.util.Date;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converted this class to return a String instead of a
|
* Converted this class to return a String instead of a
|
|
@ -5,13 +5,13 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public class AttrEnum extends AttrAbstractText {
|
public class AttrEnum extends AttrAbstractText {
|
||||||
public AttrEnum(String[] values) {
|
public AttrEnum(String[] values) {
|
|
@ -5,9 +5,9 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public class AttrGenericText extends AttrAbstractText {
|
public class AttrGenericText extends AttrAbstractText {
|
||||||
private String mChars;
|
private String mChars;
|
|
@ -5,10 +5,10 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public class AttrNumeric implements AttrType<Integer> {
|
public class AttrNumeric implements AttrType<Integer> {
|
||||||
public Integer parse(String value, boolean strict) throws MetaParseException {
|
public Integer parse(String value, boolean strict) throws MetaParseException {
|
|
@ -5,10 +5,10 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public class AttrNumericPositive implements AttrType<Integer> {
|
public class AttrNumericPositive implements AttrType<Integer> {
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public class AttrPlaintext extends AttrAbstractText {
|
public class AttrPlaintext extends AttrAbstractText {
|
||||||
public AttrPlaintext(int min, int max) {
|
public AttrPlaintext(int min, int max) {
|
|
@ -5,9 +5,9 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
public class AttrText extends AttrAbstractText {
|
public class AttrText extends AttrAbstractText {
|
||||||
public AttrText(int min, int max) {
|
public AttrText(int min, int max) {
|
|
@ -5,11 +5,11 @@
|
||||||
* Copyright (c) 2003, The National Association of REALTORS
|
* Copyright (c) 2003, The National Association of REALTORS
|
||||||
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
* Distributed under a BSD-style license. See LICENSE.TXT for details.
|
||||||
*/
|
*/
|
||||||
package com.ossez.reoc.rets.common.metadata.attrib;
|
package com.ossez.usreio.common.metadata.attrib;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaParseException;
|
import com.ossez.usreio.common.metadata.MetaParseException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A version is a string formatted "major.minor.release". This gets converted
|
* A version is a string formatted "major.minor.release". This gets converted
|
|
@ -1,11 +1,11 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
//import java.util.Date;
|
//import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MClass extends MetaObject {
|
public class MClass extends MetaObject {
|
||||||
public static final String CLASSNAME = "ClassName";
|
public static final String CLASSNAME = "ClassName";
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MEditMask extends MetaObject {
|
public class MEditMask extends MetaObject {
|
||||||
public static final String METADATAENTRYID = "MetadataEntryID";
|
public static final String METADATAENTRYID = "MetadataEntryID";
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MForeignKey extends MetaObject {
|
public class MForeignKey extends MetaObject {
|
||||||
public static final String FOREIGNKEYID = "ForeignKeyID";
|
public static final String FOREIGNKEYID = "ForeignKeyID";
|
|
@ -1,10 +1,10 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
//import java.util.Date;
|
//import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MLookup extends MetaObject {
|
public class MLookup extends MetaObject {
|
||||||
private static final MetadataType[] CHILDREN = { MetadataType.LOOKUP_TYPE };
|
private static final MetadataType[] CHILDREN = { MetadataType.LOOKUP_TYPE };
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MLookupType extends MetaObject {
|
public class MLookupType extends MetaObject {
|
||||||
public static final String METADATAENTRYID = "MetadataEntryID";
|
public static final String METADATAENTRYID = "MetadataEntryID";
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MObject extends MetaObject {
|
public class MObject extends MetaObject {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
//import java.util.Date;
|
//import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MResource extends MetaObject {
|
public class MResource extends MetaObject {
|
||||||
private static final MetadataType[] CHILDREN = {
|
private static final MetadataType[] CHILDREN = {
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MSearchHelp extends MetaObject {
|
public class MSearchHelp extends MetaObject {
|
||||||
public static final String METADATAENTRYID = "MetadataEntryID";
|
public static final String METADATAENTRYID = "MetadataEntryID";
|
|
@ -1,10 +1,10 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
//import java.util.Date;
|
//import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MSystem extends MetaObject {
|
public class MSystem extends MetaObject {
|
||||||
public static final String SYSTEMID = "SystemID";
|
public static final String SYSTEMID = "SystemID";
|
|
@ -1,11 +1,11 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrEnum;
|
import com.ossez.usreio.common.metadata.attrib.AttrEnum;
|
||||||
|
|
||||||
public class MTable extends MetaObject {
|
public class MTable extends MetaObject {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
//import java.util.Date;
|
//import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MUpdate extends MetaObject {
|
public class MUpdate extends MetaObject {
|
||||||
public static final String METADATAENTRYID = "MetadataEntryID";
|
public static final String METADATAENTRYID = "MetadataEntryID";
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MUpdateHelp extends MetaObject {
|
public class MUpdateHelp extends MetaObject {
|
||||||
public static final String METADATAENTRYID = "MetadataEntryID";
|
public static final String METADATAENTRYID = "MetadataEntryID";
|
|
@ -1,11 +1,11 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrGenericText;
|
import com.ossez.usreio.common.metadata.attrib.AttrGenericText;
|
||||||
|
|
||||||
public class MUpdateType extends MetaObject {
|
public class MUpdateType extends MetaObject {
|
||||||
public static final String METADATAENTRYID = "MetadataEntryID";
|
public static final String METADATAENTRYID = "MetadataEntryID";
|
|
@ -1,11 +1,11 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.AttrType;
|
import com.ossez.usreio.common.metadata.AttrType;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
import com.ossez.reoc.rets.common.metadata.attrib.AttrEnum;
|
import com.ossez.usreio.common.metadata.attrib.AttrEnum;
|
||||||
|
|
||||||
public class MValidationExpression extends MetaObject {
|
public class MValidationExpression extends MetaObject {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
//import java.util.Date;
|
//import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MValidationExternal extends MetaObject {
|
public class MValidationExternal extends MetaObject {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MValidationExternalType extends MetaObject {
|
public class MValidationExternalType extends MetaObject {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
//import java.util.Date;
|
//import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MValidationLookup extends MetaObject {
|
public class MValidationLookup extends MetaObject {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package com.ossez.reoc.rets.common.metadata.types;
|
package com.ossez.usreio.common.metadata.types;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.common.metadata.MetaObject;
|
import com.ossez.usreio.common.metadata.MetaObject;
|
||||||
import com.ossez.reoc.rets.common.metadata.MetadataType;
|
import com.ossez.usreio.common.metadata.MetadataType;
|
||||||
|
|
||||||
public class MValidationLookupType extends MetaObject {
|
public class MValidationLookupType extends MetaObject {
|
||||||
public static final String METADATAENTRYID = "MetadataEntryID";
|
public static final String METADATAENTRYID = "MetadataEntryID";
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.common.util;
|
package com.ossez.usreio.common.util;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.common.util;
|
package com.ossez.usreio.common.util;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
|
@ -1,6 +1,7 @@
|
||||||
package com.ossez.reoc.rets.common.util;
|
package com.ossez.usreio.common.util;
|
||||||
|
|
||||||
import com.ossez.reoc.rets.client.*;
|
import com.ossez.reoc.rets.client.*;
|
||||||
|
import com.ossez.usreio.client.*;
|
||||||
import org.apache.commons.lang3.ObjectUtils;
|
import org.apache.commons.lang3.ObjectUtils;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import junit.framework.Test;
|
import junit.framework.Test;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
public class GetMetadataRequestTest extends RetsTestCase {
|
public class GetMetadataRequestTest extends RetsTestCase {
|
||||||
public void testGetMetadataRequestSimple() throws RetsException {
|
public void testGetMetadataRequestSimple() throws RetsException {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
//import java.util.List;
|
//import java.util.List;
|
||||||
//import java.util.ArrayList;
|
//import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.ossez.reoc.rets.client;
|
package com.ossez.usreio.client;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.ByteArrayOutputStream;
|
import java.io.ByteArrayOutputStream;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue